Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",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.003229/0.003228, allocations: 181.5 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.252/2.252, 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.001218/0.001218, allocations: 82.61 kB / 267.1 MB, free: 9.277 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.1077/0.1077, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.901e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09837, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5649, allocations: 78.11 MB / 0.5025 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5652, allocations: 76.83 kB / 0.5026 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005018/0.5703, allocations: 1.378 MB / 0.5039 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5703, allocations: 4 kB / 0.5039 GB, free: 11.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.5704, allocations: 3.844 kB / 0.504 GB, free: 11.64 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004143/0.5708, allocations: 363.8 kB / 0.5043 GB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5708, allocations: 7.562 kB / 0.5043 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.5709, allocations: 39.72 kB / 0.5043 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.571, allocations: 7.594 kB / 0.5044 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.5712, allocations: 196.4 kB / 0.5045 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5712, allocations: 7.703 kB / 0.5045 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.5712, allocations: 10.38 kB / 0.5046 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.5716, allocations: 149.6 kB / 0.5047 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5716, allocations: 7.031 kB / 0.5047 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5717, allocations: 3.688 kB / 0.5047 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5717, allocations: 4 kB / 0.5047 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.5718, allocations: 28.64 kB / 0.5047 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.5723, allocations: 373 kB / 0.5051 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.5726, allocations: 117.9 kB / 0.5052 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.5727, allocations: 46.92 kB / 0.5053 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.5728, allocations: 3.875 kB / 0.5053 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5728, allocations: 42.12 kB / 0.5053 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.386e-06/0.5728, allocations: 0 / 0.5053 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002909/0.5731, allocations: 87.44 kB / 0.5054 GB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5732, allocations: 110.5 kB / 0.5055 GB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.5733, allocations: 126.3 kB / 0.5056 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5734, allocations: 25.7 kB / 0.5056 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.5734, allocations: 98.22 kB / 0.5057 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.5735, allocations: 14.64 kB / 0.5057 GB, free: 10.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.5735, allocations: 3.375 kB / 0.5057 GB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.5735, allocations: 322 kB / 0.506 GB, free: 9.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.5736, allocations: 7.656 kB / 0.5061 GB, free: 9.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.5737, allocations: 67.61 kB / 0.5061 GB, free: 9.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/0.5737, allocations: 20.08 kB / 0.5061 GB, free: 9.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5737, allocations: 0 / 0.5061 GB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.5739, allocations: 98.36 kB / 0.5062 GB, free: 9.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.574, allocations: 7.5 kB / 0.5062 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.574, allocations: 6.703 kB / 0.5062 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.574, allocations: 3.781 kB / 0.5063 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5742, allocations: 25.05 kB / 0.5063 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5742, allocations: 4.266 kB / 0.5063 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.5743, allocations: 15.28 kB / 0.5063 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.5743, allocations: 3.75 kB / 0.5063 GB, free: 9.566 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.605e-05/0.5744, allocations: 118.4 kB / 0.5064 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.5746, allocations: 73.38 kB / 0.5065 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.5747, allocations: 14 kB / 0.5065 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5747, allocations: 0 / 0.5065 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5747, allocations: 3.875 kB / 0.5065 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5747, allocations: 3.141 kB / 0.5065 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.575, allocations: 190.5 kB / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.575, allocations: 3.844 kB / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.5752, allocations: 17.81 kB / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5752, allocations: 0 / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5752, allocations: 3.562 kB / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5752, allocations: 3.844 kB / 0.5067 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5752, allocations: 7.875 kB / 0.5067 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.5756, allocations: 322.6 kB / 0.507 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.5757, allocations: 100.8 kB / 0.5071 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.5757, allocations: 3.188 kB / 0.5071 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.5759, allocations: 3.844 kB / 0.5071 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.576, allocations: 4 kB / 0.5071 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.576, allocations: 7.594 kB / 0.5071 GB, free: 8.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.155e-05/0.5761, allocations: 106.9 kB / 0.5072 GB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.793e-06/0.5761, allocations: 3.938 kB / 0.5072 GB, free: 8.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.5765, allocations: 14.91 kB / 0.5073 GB, free: 8.75 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 (10): * Single equations (assignments): 10 * 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.0006442/0.5771, allocations: 0.9951 MB / 0.5082 GB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.5773, allocations: 48.38 kB / 0.5083 GB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5773, allocations: 0.5625 kB / 0.5083 GB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.5774, allocations: 11.78 kB / 0.5083 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.5778, allocations: 35.69 kB / 0.5083 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.5785, allocations: 173.8 kB / 0.5085 GB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5787, allocations: 0.7106 MB / 0.5092 GB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.5787, allocations: 4.797 kB / 0.5092 GB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.5788, allocations: 21.16 kB / 0.5092 GB, free: 6.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5788, allocations: 0 / 0.5092 GB, free: 6.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.6031, allocations: 1.593 MB / 0.5108 GB, free: 6.477 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.6035, allocations: 176.9 kB / 0.5109 GB, free: 6.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.076, allocations: 3.844 kB / 0.5109 GB, free: 6.246 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat