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.001066/0.001066, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.2 MB / 245 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008762/0.0008762, allocations: 106.6 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3054/0.3054, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.0002458, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3063, allocations: 63.25 MB / 0.5192 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.805/8.112, allocations: 3.404 GB / 3.923 GB, free: 148.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/8.112, allocations: 84.84 kB / 3.923 GB, free: 148.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9762/9.088, allocations: 294.9 MB / 4.211 GB, free: 83.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.422e-06/9.088, allocations: 0 / 4.211 GB, free: 83.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.638e-05/9.088, allocations: 12 kB / 4.211 GB, free: 83.5 MB / 0.5417 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.005087/9.093, allocations: 1.621 MB / 4.212 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/9.093, allocations: 8.031 kB / 4.212 GB, free: 81.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/9.094, allocations: 55.44 kB / 4.212 GB, free: 81.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/9.095, allocations: 382 kB / 4.213 GB, free: 81.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/9.095, allocations: 25 kB / 4.213 GB, free: 81.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/9.095, allocations: 40 kB / 4.213 GB, free: 81.28 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/9.096, allocations: 0.5021 MB / 4.213 GB, free: 80.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/9.096, allocations: 4 kB / 4.213 GB, free: 80.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/9.096, allocations: 16 kB / 4.213 GB, free: 80.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/9.096, allocations: 8 kB / 4.213 GB, free: 80.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/9.097, allocations: 495.5 kB / 4.214 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/9.099, allocations: 1.978 MB / 4.216 GB, free: 78.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/9.1, allocations: 468.6 kB / 4.216 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/9.101, allocations: 0.9573 MB / 4.217 GB, free: 76.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/9.101, allocations: 38.56 kB / 4.217 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/9.101, allocations: 0 / 4.217 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30): time 0.001056/9.102, allocations: 0.505 MB / 4.218 GB, free: 75.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/9.102, allocations: 106.8 kB / 4.218 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/9.102, allocations: 364.7 kB / 4.218 GB, free: 75.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/9.102, allocations: 33.7 kB / 4.218 GB, free: 75.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/9.102, allocations: 220.1 kB / 4.218 GB, free: 75.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/9.102, allocations: 102.5 kB / 4.218 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/9.102, allocations: 8 kB / 4.218 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/9.102, allocations: 346.8 kB / 4.219 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/9.103, allocations: 164.6 kB / 4.219 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/9.103, allocations: 254.3 kB / 4.219 GB, free: 74.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/9.103, allocations: 247.3 kB / 4.219 GB, free: 73.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/9.103, allocations: 4 kB / 4.219 GB, free: 73.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008927/9.104, allocations: 0.5625 MB / 4.22 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/9.104, allocations: 63.39 kB / 4.22 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/9.104, allocations: 4 kB / 4.22 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/9.104, allocations: 8 kB / 4.22 GB, free: 73.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/9.105, allocations: 84.23 kB / 4.22 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/9.105, allocations: 11.94 kB / 4.22 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/9.105, allocations: 63.45 kB / 4.22 GB, free: 73.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/9.105, allocations: 19.98 kB / 4.22 GB, free: 73.13 MB / 0.5417 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.0002166/9.105, allocations: 185.7 kB / 4.22 GB, free: 72.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/9.106, allocations: 43.48 kB / 4.22 GB, free: 72.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/9.107, allocations: 0.4944 MB / 4.221 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/9.107, allocations: 8.031 kB / 4.221 GB, free: 72.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/9.107, allocations: 0 / 4.221 GB, free: 72.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/9.107, allocations: 4 kB / 4.221 GB, free: 72.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/9.109, allocations: 2.465 MB / 4.223 GB, free: 69.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/9.109, allocations: 0 / 4.223 GB, free: 69.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/9.109, allocations: 68.09 kB / 4.223 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/9.109, allocations: 4 kB / 4.223 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/9.109, allocations: 15.94 kB / 4.223 GB, free: 69.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/9.109, allocations: 0 / 4.223 GB, free: 69.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.109, allocations: 4 kB / 4.223 GB, free: 69.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/9.11, allocations: 0.7422 MB / 4.224 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/9.11, allocations: 140.5 kB / 4.224 GB, free: 68.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/9.11, allocations: 12 kB / 4.224 GB, free: 68.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/9.111, allocations: 31.97 kB / 4.224 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/9.111, allocations: 31.92 kB / 4.224 GB, free: 68.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/9.111, allocations: 23.92 kB / 4.224 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003171/9.111, allocations: 359.1 kB / 4.225 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/9.111, allocations: 4 kB / 4.225 GB, free: 68.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001786/9.113, allocations: 443.4 kB / 4.225 GB, free: 67.61 MB / 0.5417 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.001867/9.115, allocations: 1.118 MB / 4.226 GB, free: 66.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000723/9.116, allocations: 467.1 kB / 4.227 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/9.116, allocations: 4.062 kB / 4.227 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/9.116, allocations: 171.7 kB / 4.227 GB, free: 65.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/9.117, allocations: 246.9 kB / 4.227 GB, free: 65.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/9.118, allocations: 0.9294 MB / 4.228 GB, free: 64.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/9.118, allocations: 0.8434 MB / 4.229 GB, free: 63.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003776/9.119, allocations: 104.7 kB / 4.229 GB, free: 63.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/9.119, allocations: 47.42 kB / 4.229 GB, free: 63.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/9.119, allocations: 0 / 4.229 GB, free: 63.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.02714/9.146, allocations: 23.24 MB / 4.252 GB, free: 40.46 MB / 0.5417 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/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