Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",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.001091/0.001091, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0009079/0.0009079, allocations: 95.83 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3631/0.3631, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.267e-05, allocations: 0 / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.231/9.37, allocations: 3.574 GB / 4.047 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/9.37, allocations: 83.95 kB / 4.047 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/10.88, allocations: 305 MB / 4.345 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/10.88, allocations: 0 / 4.345 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.638e-05/10.88, allocations: 10.84 kB / 4.345 GB, free: 65.93 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.008314/10.89, allocations: 1.599 MB / 4.346 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.53e-05/10.89, allocations: 10.94 kB / 4.346 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/10.89, allocations: 71.02 kB / 4.346 GB, free: 65.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/10.89, allocations: 54.72 kB / 4.346 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/10.9, allocations: 372.3 kB / 4.347 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/10.9, allocations: 29.91 kB / 4.347 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/10.9, allocations: 37.38 kB / 4.347 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/10.9, allocations: 498.3 kB / 4.347 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/10.9, allocations: 1.031 kB / 4.347 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.649e-05/10.9, allocations: 18.41 kB / 4.347 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/10.9, allocations: 9.531 kB / 4.347 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/10.9, allocations: 459.2 kB / 4.348 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/10.9, allocations: 1.968 MB / 4.35 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/10.9, allocations: 446.2 kB / 4.35 GB, free: 63.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/10.9, allocations: 162.7 kB / 4.35 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008809/10.9, allocations: 0.9504 MB / 4.351 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/10.9, allocations: 49.77 kB / 4.351 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/10.9, allocations: 0 / 4.351 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.000735/10.9, allocations: 345.3 kB / 4.351 GB, free: 62.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/10.9, allocations: 109.4 kB / 4.352 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/10.9, allocations: 344.3 kB / 4.352 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/10.9, allocations: 36.23 kB / 4.352 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/10.9, allocations: 214.1 kB / 4.352 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/10.9, allocations: 107.1 kB / 4.352 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/10.9, allocations: 12.81 kB / 4.352 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/10.91, allocations: 346.1 kB / 4.353 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/10.91, allocations: 137.5 kB / 4.353 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/10.91, allocations: 250.4 kB / 4.353 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/10.91, allocations: 224.2 kB / 4.353 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/10.91, allocations: 0 / 4.353 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000738/10.91, allocations: 0.5233 MB / 4.354 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/10.91, allocations: 64.06 kB / 4.354 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/10.91, allocations: 2.625 kB / 4.354 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/10.91, allocations: 8.625 kB / 4.354 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/10.91, allocations: 84.91 kB / 4.354 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/10.91, allocations: 12.92 kB / 4.354 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/10.91, allocations: 62.64 kB / 4.354 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/10.91, allocations: 24.61 kB / 4.354 GB, free: 61.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001088/10.91, allocations: 130.6 kB / 4.354 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/10.91, allocations: 42.19 kB / 4.354 GB, free: 61.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/10.91, allocations: 474.6 kB / 4.355 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/10.91, allocations: 2.656 kB / 4.355 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/10.91, allocations: 5.516 kB / 4.355 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/10.91, allocations: 6.484 kB / 4.355 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/10.91, allocations: 2.411 MB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/10.91, allocations: 0 / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/10.91, allocations: 75.5 kB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/10.91, allocations: 3.219 kB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/10.91, allocations: 10.5 kB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/10.91, allocations: 3.5 kB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/10.91, allocations: 6.75 kB / 4.357 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/10.91, allocations: 0.7073 MB / 4.358 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/10.91, allocations: 140.2 kB / 4.358 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/10.91, allocations: 9.969 kB / 4.358 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/10.91, allocations: 25.77 kB / 4.358 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/10.91, allocations: 33.44 kB / 4.358 GB, free: 58.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/10.91, allocations: 18.36 kB / 4.358 GB, free: 58.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003483/10.91, allocations: 353.8 kB / 4.358 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/10.91, allocations: 0 / 4.358 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002043/10.92, allocations: 482.8 kB / 4.359 GB, free: 58.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * 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.003798/10.92, allocations: 2.929 MB / 4.362 GB, free: 56.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00067/10.92, allocations: 446.8 kB / 4.362 GB, free: 56.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/10.92, allocations: 3.031 kB / 4.362 GB, free: 56.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/10.92, allocations: 153.8 kB / 4.362 GB, free: 56.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/10.92, allocations: 248.9 kB / 4.362 GB, free: 56.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/10.92, allocations: 0.8095 MB / 4.363 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/10.92, allocations: 0.8462 MB / 4.364 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004716/10.92, allocations: 107.9 kB / 4.364 GB, free: 55.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/10.92, allocations: 145.9 kB / 4.364 GB, free: 55.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.793e-06/10.92, allocations: 0 / 4.364 GB, free: 55.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07103/11, allocations: 33.48 MB / 4.397 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/11, allocations: 205.5 kB / 4.397 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/14.17, allocations: 0.8438 kB / 4.397 GB, free: 54.72 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat