Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",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.001495/0.001495, allocations: 177.7 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001108/0.001108, allocations: 86.05 kB / 261.8 MB, free: 13.45 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.1082/0.1082, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.169e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.39 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.565, allocations: 77.12 MB / 0.4947 GB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5653, allocations: 75.45 kB / 0.4947 GB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003824/0.5692, allocations: 1.107 MB / 0.4958 GB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5692, allocations: 3.938 kB / 0.4958 GB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5692, allocations: 7.75 kB / 0.4958 GB, free: 11.42 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.0003407/0.5696, allocations: 344.6 kB / 0.4962 GB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5696, allocations: 7.625 kB / 0.4962 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.5697, allocations: 7.781 kB / 0.4962 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.5699, allocations: 191.1 kB / 0.4964 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5699, allocations: 0 / 0.4964 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.57, allocations: 8.672 kB / 0.4964 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.993e-05/0.5701, allocations: 18.47 kB / 0.4964 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.5703, allocations: 97.64 kB / 0.4965 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5703, allocations: 0 / 0.4965 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5703, allocations: 0 / 0.4965 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5704, allocations: 0 / 0.4965 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.5707, allocations: 245.9 kB / 0.4967 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.5709, allocations: 134.6 kB / 0.4968 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.571, allocations: 23.23 kB / 0.4969 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.571, allocations: 0 / 0.4969 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5711, allocations: 42 kB / 0.4969 GB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.5711, allocations: 0 / 0.4969 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001815/0.5713, allocations: 61.12 kB / 0.497 GB, free: 10.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5713, allocations: 77.11 kB / 0.497 GB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5714, allocations: 116.9 kB / 0.4971 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.5715, allocations: 25.7 kB / 0.4972 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.5715, allocations: 88.11 kB / 0.4973 GB, free: 9.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.5715, allocations: 11.22 kB / 0.4973 GB, free: 9.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5715, allocations: 0 / 0.4973 GB, free: 9.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.5716, allocations: 313.6 kB / 0.4976 GB, free: 9.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.5716, allocations: 7 kB / 0.4976 GB, free: 9.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.5717, allocations: 24.06 kB / 0.4976 GB, free: 9.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.5717, allocations: 14.2 kB / 0.4976 GB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5717, allocations: 3.938 kB / 0.4976 GB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.452e-05/0.5718, allocations: 55.28 kB / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5719, allocations: 3.875 kB / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5719, allocations: 0 / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5719, allocations: 3.844 kB / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.572, allocations: 11.62 kB / 0.4977 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.572, allocations: 4.672 kB / 0.4977 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.5721, allocations: 10.89 kB / 0.4977 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.5721, allocations: 3.844 kB / 0.4977 GB, free: 9.582 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 5.596e-05/0.5722, allocations: 104.9 kB / 0.4978 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001041/0.5723, allocations: 54.92 kB / 0.4978 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.5723, allocations: 7.875 kB / 0.4979 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.992e-05/0.5724, allocations: 13.95 kB / 0.4979 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5724, allocations: 0 / 0.4979 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5724, allocations: 4.031 kB / 0.4979 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5724, allocations: 0 / 0.4979 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.5726, allocations: 146.1 kB / 0.498 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5726, allocations: 3.953 kB / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.5727, allocations: 9.938 kB / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5727, allocations: 0 / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5727, allocations: 0 / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5727, allocations: 6.141 kB / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5727, allocations: 0 / 0.498 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.5729, allocations: 172.4 kB / 0.4982 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.573, allocations: 94.91 kB / 0.4983 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.573, allocations: 0 / 0.4983 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.5731, allocations: 6.047 kB / 0.4983 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.5731, allocations: 0 / 0.4983 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.5731, allocations: 3.844 kB / 0.4983 GB, free: 8.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.5732, allocations: 102.6 kB / 0.4984 GB, free: 8.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5732, allocations: 0 / 0.4984 GB, free: 8.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.5735, allocations: 3.969 kB / 0.4984 GB, free: 8.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003156/0.5739, allocations: 0.7699 MB / 0.4992 GB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.574, allocations: 19.03 kB / 0.4992 GB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.574, allocations: 0 / 0.4992 GB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.574, allocations: 6.516 kB / 0.4992 GB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.5743, allocations: 19.36 kB / 0.4992 GB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.5748, allocations: 126.5 kB / 0.4993 GB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.575, allocations: 0.6928 MB / 0.5 GB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.5751, allocations: 7.672 kB / 0.5 GB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.5751, allocations: 15.28 kB / 0.5 GB, free: 7.309 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5751, allocations: 0 / 0.5 GB, free: 7.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.6062, allocations: 0.9162 MB / 0.5009 GB, free: 7.234 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.6065, allocations: 156.6 kB / 0.5011 GB, free: 7.047 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.97, allocations: 4 kB / 0.5011 GB, free: 7.043 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat