Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 195 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009172/0.0009175, allocations: 101.9 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5094/0.5094, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.000352, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.472, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.315/8.787, allocations: 3.411 GB / 3.927 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/8.787, allocations: 85.83 kB / 3.927 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8858/9.673, allocations: 292.8 MB / 4.213 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.332e-06/9.673, allocations: 0 / 4.213 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.882e-05/9.673, allocations: 11.47 kB / 4.213 GB, free: 100.9 MB / 0.5261 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.004551/9.678, allocations: 1.605 MB / 4.215 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/9.678, allocations: 15.52 kB / 4.215 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/9.678, allocations: 62.19 kB / 4.215 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/9.679, allocations: 390.3 kB / 4.215 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/9.679, allocations: 28.94 kB / 4.215 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/9.679, allocations: 35.91 kB / 4.215 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/9.68, allocations: 0.5147 MB / 4.216 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/9.68, allocations: 0 / 4.216 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/9.68, allocations: 19.47 kB / 4.216 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/9.68, allocations: 10.62 kB / 4.216 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/9.681, allocations: 495.1 kB / 4.216 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/9.683, allocations: 1.964 MB / 4.218 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/9.684, allocations: 459.2 kB / 4.219 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/9.684, allocations: 187.4 kB / 4.219 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/9.685, allocations: 0.9522 MB / 4.22 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/9.685, allocations: 42.38 kB / 4.22 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/9.685, allocations: 0 / 4.22 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001021/9.686, allocations: 0.5059 MB / 4.22 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/9.686, allocations: 109.2 kB / 4.221 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/9.686, allocations: 401.6 kB / 4.221 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/9.686, allocations: 37.33 kB / 4.221 GB, free: 95.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/9.686, allocations: 222.6 kB / 4.221 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/9.686, allocations: 95.5 kB / 4.221 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/9.686, allocations: 11.81 kB / 4.221 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/9.686, allocations: 350.2 kB / 4.222 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/9.687, allocations: 155.2 kB / 4.222 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/9.687, allocations: 259.9 kB / 4.222 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/9.688, allocations: 498.7 kB / 4.223 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/9.688, allocations: 0 / 4.223 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009164/9.689, allocations: 0.56 MB / 4.223 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/9.689, allocations: 65.5 kB / 4.223 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/9.689, allocations: 3.688 kB / 4.223 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/9.689, allocations: 7.625 kB / 4.223 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/9.689, allocations: 85.06 kB / 4.223 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/9.689, allocations: 11.28 kB / 4.223 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/9.69, allocations: 65.45 kB / 4.223 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/9.69, allocations: 22.3 kB / 4.223 GB, free: 93.65 MB / 0.5261 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 () * Number of clocked 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.0002/9.69, allocations: 184.6 kB / 4.223 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/9.69, allocations: 46.94 kB / 4.224 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/9.691, allocations: 0.4967 MB / 4.224 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/9.691, allocations: 3.969 kB / 4.224 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.691, allocations: 0 / 4.224 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/9.691, allocations: 0 / 4.224 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/9.693, allocations: 2.464 MB / 4.226 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/9.693, allocations: 0 / 4.226 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/9.694, allocations: 70.14 kB / 4.226 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/9.694, allocations: 7.719 kB / 4.227 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/9.694, allocations: 7.25 kB / 4.227 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/9.694, allocations: 7.375 kB / 4.227 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/9.694, allocations: 3.562 kB / 4.227 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/9.694, allocations: 0.6545 MB / 4.227 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/9.695, allocations: 138.5 kB / 4.227 GB, free: 90.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/9.695, allocations: 11.19 kB / 4.227 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/9.695, allocations: 35.05 kB / 4.227 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/9.695, allocations: 26.56 kB / 4.227 GB, free: 90.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/9.695, allocations: 21.48 kB / 4.227 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003333/9.696, allocations: 358.1 kB / 4.228 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/9.696, allocations: 0 / 4.228 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001566/9.697, allocations: 446.1 kB / 4.228 GB, free: 89.7 MB / 0.5261 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 () * Number of clocked 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.002371/9.7, allocations: 1.117 MB / 4.229 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007473/9.7, allocations: 474.4 kB / 4.23 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/9.7, allocations: 0 / 4.23 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/9.701, allocations: 172.9 kB / 4.23 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/9.702, allocations: 251.2 kB / 4.23 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/9.703, allocations: 0.9709 MB / 4.231 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/9.703, allocations: 0.8356 MB / 4.232 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/9.704, allocations: 47.42 kB / 4.232 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/9.704, allocations: 0 / 4.232 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.01774/9.721, allocations: 14.51 MB / 4.246 GB, free: 71.48 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches