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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3805, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2097/0.5902, allocations: 184.7 MB / 0.712 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.5924, allocations: 0.89 MB / 0.7129 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.5928, allocations: 15.94 kB / 0.7129 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.5938, allocations: 214.6 kB / 0.7131 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000759/0.5946, allocations: 278.4 kB / 0.7134 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.6001, allocations: 1.928 MB / 0.7152 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.6015, allocations: 0.975 MB / 0.7162 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.602, allocations: 329.1 kB / 0.7165 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.6055, allocations: 1.565 MB / 0.718 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.6061, allocations: 318.9 kB / 0.7183 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.6062, allocations: 48 kB / 0.7184 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3371/0.9433, allocations: 2.775 MB / 0.7211 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.9437, allocations: 199 kB / 0.7213 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.9443, allocations: 269.9 kB / 0.7215 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.9493, allocations: 2.046 MB / 0.7235 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9494, allocations: 0.9688 kB / 0.7235 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.726e-06/0.9494, allocations: 0 / 0.7235 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.9494, allocations: 1.703 kB / 0.7235 GB, free: 5.145 MB / 0.5606 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.002183/0.9516, allocations: 1.058 MB / 0.7246 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9516, allocations: 9.469 kB / 0.7246 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.952, allocations: 59.73 kB / 0.7246 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.9525, allocations: 378.3 kB / 0.725 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.9526, allocations: 31.69 kB / 0.725 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.9527, allocations: 37.62 kB / 0.7251 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.9537, allocations: 0.5114 MB / 0.7256 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9537, allocations: 3.969 kB / 0.7256 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.9538, allocations: 19.89 kB / 0.7256 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.9538, allocations: 11.69 kB / 0.7256 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.9548, allocations: 497.2 kB / 0.7261 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.9576, allocations: 1.971 MB / 0.728 GB, free: 18.97 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.9584, allocations: 457.5 kB / 0.7284 GB, free: 18.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.9588, allocations: 184.8 kB / 0.7286 GB, free: 18.78 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/0.9597, allocations: 0.9447 MB / 0.7295 GB, free: 17.75 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.59e-05/0.9598, allocations: 39.47 kB / 0.7296 GB, free: 17.71 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.9598, allocations: 0.625 kB / 0.7296 GB, free: 17.71 MB / 0.5763 GB Notification: Performance of matching and sorting (n=30): time 0.001226/0.961, allocations: 0.4893 MB / 0.7301 GB, free: 17.66 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.9611, allocations: 109.2 kB / 0.7302 GB, free: 17.53 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.9616, allocations: 403.2 kB / 0.7305 GB, free: 17.41 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.9616, allocations: 37.48 kB / 0.7306 GB, free: 17.38 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.9618, allocations: 213.7 kB / 0.7308 GB, free: 17.26 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.9619, allocations: 108.2 kB / 0.7309 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.962, allocations: 84.48 kB / 0.731 GB, free: 17.17 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9621, allocations: 351.8 kB / 0.7313 GB, free: 16.86 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.9625, allocations: 149 kB / 0.7314 GB, free: 16.86 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.9628, allocations: 262.8 kB / 0.7317 GB, free: 16.73 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.9635, allocations: 479.1 kB / 0.7322 GB, free: 16.55 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9635, allocations: 2.156 kB / 0.7322 GB, free: 16.55 MB / 0.5763 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009521/0.9644, allocations: 0.5462 MB / 0.7327 GB, free: 16.44 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.9645, allocations: 64.08 kB / 0.7327 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9645, allocations: 2.688 kB / 0.7328 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9645, allocations: 6.125 kB / 0.7328 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.9649, allocations: 86.38 kB / 0.7328 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.965, allocations: 11.86 kB / 0.7328 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.9653, allocations: 51.62 kB / 0.7329 GB, free: 16.35 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.9654, allocations: 17.56 kB / 0.7329 GB, free: 16.35 MB / 0.5763 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.0002594/0.9657, allocations: 186.3 kB / 0.7331 GB, free: 16.23 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.9658, allocations: 41.66 kB / 0.7331 GB, free: 16.21 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.9668, allocations: 497.5 kB / 0.7336 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.9668, allocations: 6.281 kB / 0.7336 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9668, allocations: 0.7969 kB / 0.7336 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.9668, allocations: 4.047 kB / 0.7336 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.9698, allocations: 2.431 MB / 0.736 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9698, allocations: 4.062 kB / 0.736 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.9701, allocations: 67.77 kB / 0.7361 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.9701, allocations: 3.594 kB / 0.7361 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.9702, allocations: 9.094 kB / 0.7361 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.9702, allocations: 5.156 kB / 0.7361 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9702, allocations: 9.625 kB / 0.7361 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.9709, allocations: 0.6317 MB / 0.7367 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.9711, allocations: 133.1 kB / 0.7368 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.9712, allocations: 10.59 kB / 0.7368 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.9716, allocations: 24.17 kB / 0.7369 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.9717, allocations: 22.88 kB / 0.7369 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.9718, allocations: 21.36 kB / 0.7369 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003724/0.9721, allocations: 365.8 kB / 0.7373 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9.82e-07/0.9721, allocations: 0.9375 kB / 0.7373 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001267/0.9734, allocations: 356.2 kB / 0.7376 GB, free: 13.62 MB / 0.5763 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.001189/0.9746, allocations: 0.4972 MB / 0.7381 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008272/0.9755, allocations: 473.6 kB / 0.7385 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9755, allocations: 0 / 0.7385 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.9758, allocations: 165.9 kB / 0.7387 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.9773, allocations: 290.1 kB / 0.739 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.9785, allocations: 0.8192 MB / 0.7398 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.979, allocations: 0.8384 MB / 0.7406 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.9791, allocations: 47.69 kB / 0.7406 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of SimCode: time 1.463e-06/0.9791, allocations: 0 / 0.7406 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of Templates: time 0.01617/0.9953, allocations: 11.55 MB / 0.7519 GB, free: 11.07 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches