Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002333/0.002334, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 110.4 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3553/0.3553, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3019, allocations: 62.02 MB / 0.5152 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5233/0.8253, allocations: 180.1 MB / 0.691 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.8271, allocations: 0.9253 MB / 0.6919 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.8274, allocations: 15.56 kB / 0.6919 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.8281, allocations: 174.9 kB / 0.6921 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.8287, allocations: 271.9 kB / 0.6924 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.8333, allocations: 1.646 MB / 0.694 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.8346, allocations: 1.306 MB / 0.6952 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.835, allocations: 273.6 kB / 0.6955 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.8382, allocations: 1.434 MB / 0.6969 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.8388, allocations: 332.3 kB / 0.6972 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.8389, allocations: 26.47 kB / 0.6972 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.8448, allocations: 2.861 MB / 0.7 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.8452, allocations: 170.5 kB / 0.7002 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.8458, allocations: 242.1 kB / 0.7004 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.8532, allocations: 2.066 MB / 0.7024 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.8532, allocations: 2.188 kB / 0.7024 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.8532, allocations: 6.906 kB / 0.7025 GB, free: 1.504 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.8532, allocations: 0 / 0.7025 GB, free: 1.504 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.002872/0.8561, allocations: 1.049 MB / 0.7035 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8562, allocations: 9.062 kB / 0.7035 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.8565, allocations: 66.97 kB / 0.7036 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.8571, allocations: 364.7 kB / 0.7039 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.8571, allocations: 27.78 kB / 0.7039 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.8572, allocations: 36.72 kB / 0.704 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.8581, allocations: 0.5223 MB / 0.7045 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8581, allocations: 1.094 kB / 0.7045 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.8582, allocations: 15.19 kB / 0.7045 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.8582, allocations: 8.562 kB / 0.7045 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/0.8591, allocations: 499.1 kB / 0.705 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.8618, allocations: 1.978 MB / 0.7069 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.8625, allocations: 455.2 kB / 0.7073 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.8628, allocations: 183.6 kB / 0.7075 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008295/0.8637, allocations: 0.949 MB / 0.7084 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8637, allocations: 40.53 kB / 0.7085 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.8637, allocations: 0.9062 kB / 0.7085 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.001194/0.8649, allocations: 0.489 MB / 0.709 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.865, allocations: 117.8 kB / 0.7091 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.8655, allocations: 397.9 kB / 0.7094 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.8655, allocations: 36.64 kB / 0.7095 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.8657, allocations: 219.7 kB / 0.7097 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.8658, allocations: 101.8 kB / 0.7098 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.8659, allocations: 80.52 kB / 0.7099 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8661, allocations: 354.8 kB / 0.7102 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.8664, allocations: 148.3 kB / 0.7103 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.8668, allocations: 261.2 kB / 0.7106 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.8676, allocations: 488.5 kB / 0.7111 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8676, allocations: 1.531 kB / 0.7111 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00112/0.8688, allocations: 0.5452 MB / 0.7116 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.8688, allocations: 63.38 kB / 0.7117 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8688, allocations: 10.97 kB / 0.7117 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.8689, allocations: 5.094 kB / 0.7117 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.8693, allocations: 84.64 kB / 0.7118 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.8693, allocations: 10.06 kB / 0.7118 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.8698, allocations: 53.81 kB / 0.7118 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.8698, allocations: 23.08 kB / 0.7118 GB, free: 12.58 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.8701, allocations: 191.8 kB / 0.712 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8703, allocations: 40.47 kB / 0.7121 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.8713, allocations: 491.2 kB / 0.7125 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.8713, allocations: 7.812 kB / 0.7125 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8714, allocations: 1.469 kB / 0.7125 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8714, allocations: 3.938 kB / 0.7125 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.8746, allocations: 2.435 MB / 0.7149 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8746, allocations: 2.594 kB / 0.7149 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.8749, allocations: 65.25 kB / 0.715 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.8749, allocations: 3.5 kB / 0.715 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.875, allocations: 8.188 kB / 0.715 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.875, allocations: 3.844 kB / 0.715 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.875, allocations: 2.906 kB / 0.715 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.8768, allocations: 1.441 MB / 0.7164 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.877, allocations: 126.7 kB / 0.7165 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.877, allocations: 15.41 kB / 0.7165 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.8775, allocations: 28.41 kB / 0.7166 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.8776, allocations: 30.77 kB / 0.7166 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.8776, allocations: 20.06 kB / 0.7166 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003724/0.878, allocations: 365.7 kB / 0.717 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.878, allocations: 0 / 0.717 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001594/0.8796, allocations: 356.7 kB / 0.7173 GB, free: 9.223 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.8809, allocations: 0.4965 MB / 0.7178 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.8817, allocations: 467.3 kB / 0.7182 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8817, allocations: 3.438 kB / 0.7182 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.882, allocations: 168.8 kB / 0.7184 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.8834, allocations: 266.1 kB / 0.7187 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.8849, allocations: 1.155 MB / 0.7198 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8853, allocations: 0.8521 MB / 0.7206 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004818/0.8858, allocations: 122.5 kB / 0.7207 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.8859, allocations: 46.16 kB / 0.7208 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.8859, allocations: 2.562 kB / 0.7208 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of Templates: time 0.0231/0.909, allocations: 14.8 MB / 0.7352 GB, free: 2.227 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches