Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01518/0.01518, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.034/2.034, allocations: 194.5 MB / 210.3 MB, free: 7.809 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002011/0.002011, allocations: 104.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2689/0.2689, allocations: 40.02 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005017, allocations: 13.78 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 54.87 MB / 461.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.81/10.92, allocations: 3.63 GB / 4.08 GB, free: 3.266 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/10.92, allocations: 87.89 kB / 4.08 GB, free: 3.219 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804/12.73, allocations: 304.7 MB / 4.378 GB, free: 93.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/12.73, allocations: 3.938 kB / 4.378 GB, free: 93.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.553e-05/12.73, allocations: 15.34 kB / 4.378 GB, free: 93.08 MB / 490.7 MB 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.006578/12.73, allocations: 1.636 MB / 4.38 GB, free: 91.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/12.73, allocations: 8.031 kB / 4.38 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/12.74, allocations: 78.53 kB / 4.38 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/12.74, allocations: 59.38 kB / 4.38 GB, free: 91.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/12.74, allocations: 406.3 kB / 4.38 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/12.74, allocations: 25 kB / 4.38 GB, free: 90.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/12.74, allocations: 36 kB / 4.38 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/12.74, allocations: 0.5029 MB / 4.381 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/12.74, allocations: 0 / 4.381 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/12.74, allocations: 16 kB / 4.381 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/12.74, allocations: 11.95 kB / 4.381 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/12.74, allocations: 0.4911 MB / 4.381 GB, free: 89.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/12.74, allocations: 2.041 MB / 4.383 GB, free: 87.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/12.74, allocations: 387.9 kB / 4.384 GB, free: 87.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/12.75, allocations: 0.9533 MB / 4.385 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/12.75, allocations: 38.56 kB / 4.385 GB, free: 85.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.126e-06/12.75, allocations: 0 / 4.385 GB, free: 85.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001462/12.75, allocations: 397 kB / 4.385 GB, free: 85.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/12.75, allocations: 118.7 kB / 4.385 GB, free: 85.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/12.75, allocations: 274.8 kB / 4.385 GB, free: 85.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/12.75, allocations: 33.7 kB / 4.385 GB, free: 85.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/12.75, allocations: 247.5 kB / 4.386 GB, free: 84.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/12.75, allocations: 98.5 kB / 4.386 GB, free: 84.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/12.75, allocations: 12 kB / 4.386 GB, free: 84.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/12.75, allocations: 346.8 kB / 4.386 GB, free: 84.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/12.75, allocations: 123.9 kB / 4.386 GB, free: 84.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/12.75, allocations: 309.2 kB / 4.386 GB, free: 83.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/12.75, allocations: 235.2 kB / 4.387 GB, free: 83.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/12.75, allocations: 0 / 4.387 GB, free: 83.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001444/12.75, allocations: 0.5446 MB / 4.387 GB, free: 83.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/12.75, allocations: 67.39 kB / 4.387 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/12.75, allocations: 4 kB / 4.387 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/12.75, allocations: 8 kB / 4.387 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/12.75, allocations: 103.8 kB / 4.387 GB, free: 82.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/12.75, allocations: 15.92 kB / 4.387 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/12.75, allocations: 63.55 kB / 4.387 GB, free: 82.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/12.75, allocations: 27.98 kB / 4.387 GB, free: 82.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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.0003282/12.75, allocations: 193.6 kB / 4.388 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/12.75, allocations: 31.62 kB / 4.388 GB, free: 82.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/12.75, allocations: 440.9 kB / 4.388 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/12.75, allocations: 4.234 kB / 4.388 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/12.75, allocations: 0 / 4.388 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/12.75, allocations: 11.97 kB / 4.388 GB, free: 82.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/12.76, allocations: 1.041 MB / 4.389 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/12.76, allocations: 4 kB / 4.389 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/12.76, allocations: 47.94 kB / 4.389 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/12.76, allocations: 4 kB / 4.389 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/12.76, allocations: 11.94 kB / 4.389 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/12.76, allocations: 7.953 kB / 4.389 GB, free: 80.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/12.76, allocations: 7.984 kB / 4.389 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/12.76, allocations: 0.6344 MB / 4.39 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/12.76, allocations: 124.6 kB / 4.39 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/12.76, allocations: 8 kB / 4.39 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/12.76, allocations: 23.92 kB / 4.39 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/12.76, allocations: 23.72 kB / 4.39 GB, free: 79.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/12.76, allocations: 12 kB / 4.39 GB, free: 79.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003923/12.76, allocations: 263.1 kB / 4.39 GB, free: 79.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/12.76, allocations: 0 / 4.39 GB, free: 79.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002153/12.76, allocations: 471.2 kB / 4.391 GB, free: 79.24 MB / 490.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.004566/12.77, allocations: 2.869 MB / 4.394 GB, free: 76.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/12.77, allocations: 414 kB / 4.394 GB, free: 76.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/12.77, allocations: 3.938 kB / 4.394 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/12.77, allocations: 127.8 kB / 4.394 GB, free: 75.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/12.77, allocations: 148.6 kB / 4.394 GB, free: 75.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/12.77, allocations: 5.57 MB / 4.4 GB, free: 70.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/12.77, allocations: 0.843 MB / 4.4 GB, free: 69.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007479/12.78, allocations: 94.45 kB / 4.401 GB, free: 69.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/12.78, allocations: 143.4 kB / 4.401 GB, free: 68.93 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/12.78, allocations: 0 / 4.401 GB, free: 68.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/12.89, allocations: 27.46 MB / 4.427 GB, free: 41.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/12.89, allocations: 240.1 kB / 4.428 GB, free: 41.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/16.83, allocations: 0 / 4.428 GB, free: 41.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat