Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001557, allocations: 180.6 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.264/2.264, allocations: 205.2 MB / 219 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001114, allocations: 92.8 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1085/0.1085, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.93e-05, allocations: 11.98 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.546, allocations: 78.2 MB / 0.5026 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/0.5464, allocations: 76.77 kB / 0.5027 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009016/0.5554, allocations: 1.673 MB / 0.5043 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5555, allocations: 0 / 0.5043 GB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.5555, allocations: 3.938 kB / 0.5043 GB, free: 11.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006128/0.5562, allocations: 372 kB / 0.5047 GB, free: 10.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.128e-05/0.5562, allocations: 11.5 kB / 0.5047 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.5563, allocations: 33.06 kB / 0.5047 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.5564, allocations: 11.53 kB / 0.5047 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.5567, allocations: 193 kB / 0.5049 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5567, allocations: 3.953 kB / 0.5049 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.5568, allocations: 7.094 kB / 0.5049 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.5572, allocations: 125.4 kB / 0.505 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5573, allocations: 0 / 0.505 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5573, allocations: 3.688 kB / 0.5051 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5573, allocations: 0 / 0.5051 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.5575, allocations: 24.48 kB / 0.5051 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.5584, allocations: 389.9 kB / 0.5054 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5586, allocations: 71.39 kB / 0.5055 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.5587, allocations: 27.81 kB / 0.5055 GB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.5587, allocations: 3.844 kB / 0.5055 GB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5588, allocations: 39.81 kB / 0.5056 GB, free: 9.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.717e-06/0.5588, allocations: 0 / 0.5056 GB, free: 9.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004228/0.5593, allocations: 73.27 kB / 0.5057 GB, free: 9.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.5593, allocations: 109.6 kB / 0.5058 GB, free: 9.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.5596, allocations: 135.7 kB / 0.5059 GB, free: 9.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5596, allocations: 25.7 kB / 0.5059 GB, free: 9.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.5597, allocations: 91.3 kB / 0.506 GB, free: 9.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.5597, allocations: 10.52 kB / 0.506 GB, free: 9.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5598, allocations: 0 / 0.506 GB, free: 9.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.5599, allocations: 321.1 kB / 0.5063 GB, free: 9.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.5599, allocations: 17.56 kB / 0.5063 GB, free: 9.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.56, allocations: 33.75 kB / 0.5064 GB, free: 9.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.5601, allocations: 11.56 kB / 0.5064 GB, free: 9.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5602, allocations: 3.938 kB / 0.5064 GB, free: 9.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002592/0.5604, allocations: 77.61 kB / 0.5065 GB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5605, allocations: 3.906 kB / 0.5065 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5605, allocations: 0 / 0.5065 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5606, allocations: 6.656 kB / 0.5065 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.5608, allocations: 14.62 kB / 0.5065 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5609, allocations: 3.844 kB / 0.5065 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.5611, allocations: 3.844 kB / 0.5065 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.5611, allocations: 14.95 kB / 0.5065 GB, free: 9.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.089e-05/0.5612, allocations: 112.7 kB / 0.5066 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.5614, allocations: 51 kB / 0.5067 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.5615, allocations: 17.73 kB / 0.5067 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5615, allocations: 0 / 0.5067 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5616, allocations: 0 / 0.5067 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5616, allocations: 3.844 kB / 0.5067 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.562, allocations: 187.6 kB / 0.5069 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.5621, allocations: 3.844 kB / 0.5069 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5623, allocations: 14.53 kB / 0.5069 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5623, allocations: 3.844 kB / 0.5069 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5624, allocations: 0 / 0.5069 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5624, allocations: 0 / 0.5069 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5624, allocations: 0 / 0.5069 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.5627, allocations: 284.9 kB / 0.5071 GB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5629, allocations: 98.03 kB / 0.5072 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5629, allocations: 3.562 kB / 0.5072 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.5633, allocations: 3.875 kB / 0.5072 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.5633, allocations: 6.5 kB / 0.5073 GB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5634, allocations: 0 / 0.5073 GB, free: 8.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5636, allocations: 119.7 kB / 0.5074 GB, free: 8.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5636, allocations: 4 kB / 0.5074 GB, free: 8.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005846/0.5642, allocations: 7.688 kB / 0.5074 GB, free: 8.375 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000628/0.5648, allocations: 0.9418 MB / 0.5083 GB, free: 7.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.5651, allocations: 36.72 kB / 0.5083 GB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5651, allocations: 0 / 0.5083 GB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.5652, allocations: 10.53 kB / 0.5083 GB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.5658, allocations: 24.78 kB / 0.5084 GB, free: 7.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.567, allocations: 182.5 kB / 0.5085 GB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.5673, allocations: 0.6955 MB / 0.5092 GB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.5675, allocations: 13.02 kB / 0.5092 GB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.5676, allocations: 17.39 kB / 0.5092 GB, free: 6.586 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5676, allocations: 0 / 0.5092 GB, free: 6.586 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5881, allocations: 1.62 MB / 0.5108 GB, free: 6.027 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/0.5884, allocations: 193.1 kB / 0.511 GB, free: 5.801 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.981, allocations: 0 / 0.511 GB, free: 5.801 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat