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.001047/0.001047, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002782, allocations: 15.92 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4132/0.5234, allocations: 180.9 MB / 0.6484 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.5254, allocations: 0.914 MB / 0.6493 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.5256, allocations: 11.88 kB / 0.6493 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.5262, allocations: 175.1 kB / 0.6495 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.5268, allocations: 278.5 kB / 0.6498 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.5312, allocations: 1.642 MB / 0.6514 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.5326, allocations: 1.303 MB / 0.6527 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.533, allocations: 267.9 kB / 0.6529 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.5361, allocations: 1.441 MB / 0.6543 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.5366, allocations: 322.8 kB / 0.6546 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.5367, allocations: 24 kB / 0.6546 GB, free: 9.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/0.5417, allocations: 2.873 MB / 0.6575 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5419, allocations: 171.5 kB / 0.6576 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.5423, allocations: 272.5 kB / 0.6579 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.5461, allocations: 2.069 MB / 0.6599 GB, free: 3.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5462, allocations: 0 / 0.6599 GB, free: 3.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5462, allocations: 3.938 kB / 0.6599 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5462, allocations: 4 kB / 0.6599 GB, free: 3.945 MB / 494.1 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.001681/0.5479, allocations: 0.9585 MB / 0.6608 GB, free: 2.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5479, allocations: 8.031 kB / 0.6608 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.5482, allocations: 59.42 kB / 0.6609 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.5487, allocations: 361.9 kB / 0.6612 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.5487, allocations: 29 kB / 0.6613 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.5488, allocations: 35.94 kB / 0.6613 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.5496, allocations: 0.5276 MB / 0.6618 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5497, allocations: 0 / 0.6618 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.5497, allocations: 16 kB / 0.6618 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5497, allocations: 12 kB / 0.6619 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.5507, allocations: 0.4994 MB / 0.6623 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.5534, allocations: 1.987 MB / 0.6643 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.5541, allocations: 464.6 kB / 0.6647 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.5544, allocations: 197.7 kB / 0.6649 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.5553, allocations: 0.9455 MB / 0.6658 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5553, allocations: 38.56 kB / 0.6659 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/0.5553, allocations: 3.938 kB / 0.6659 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001162/0.5565, allocations: 0.5047 MB / 0.6664 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.5566, allocations: 106.8 kB / 0.6665 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.557, allocations: 397.6 kB / 0.6669 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.5571, allocations: 37.7 kB / 0.6669 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.5573, allocations: 220.1 kB / 0.6671 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.5573, allocations: 106.4 kB / 0.6672 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.5574, allocations: 37.7 kB / 0.6672 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5576, allocations: 346.8 kB / 0.6676 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.5579, allocations: 160.6 kB / 0.6677 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.5583, allocations: 262.2 kB / 0.668 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.559, allocations: 0.4989 MB / 0.6685 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5591, allocations: 0 / 0.6685 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001013/0.5601, allocations: 0.5623 MB / 0.669 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.5601, allocations: 65.75 kB / 0.6691 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5602, allocations: 4 kB / 0.6691 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5602, allocations: 4 kB / 0.6691 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.5606, allocations: 83.88 kB / 0.6692 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5606, allocations: 11.94 kB / 0.6692 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.561, allocations: 59.86 kB / 0.6692 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.5611, allocations: 19.98 kB / 0.6692 GB, free: 9.652 MB / 0.4981 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.0002286/0.5613, allocations: 181.7 kB / 0.6694 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5614, allocations: 43.52 kB / 0.6695 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.5625, allocations: 0.4917 MB / 0.6699 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5625, allocations: 4 kB / 0.6699 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5625, allocations: 4.062 kB / 0.6699 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5625, allocations: 7.984 kB / 0.67 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.5655, allocations: 2.441 MB / 0.6723 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5655, allocations: 11.88 kB / 0.6723 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.5659, allocations: 63.91 kB / 0.6724 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5659, allocations: 7.938 kB / 0.6724 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.5659, allocations: 8 kB / 0.6724 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5659, allocations: 4 kB / 0.6724 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5659, allocations: 4 kB / 0.6724 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.5668, allocations: 0.6516 MB / 0.6731 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.567, allocations: 152.3 kB / 0.6732 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.567, allocations: 15.92 kB / 0.6732 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.5675, allocations: 23.98 kB / 0.6733 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.5676, allocations: 27.97 kB / 0.6733 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.5677, allocations: 15.98 kB / 0.6733 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004318/0.5681, allocations: 367.1 kB / 0.6736 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.445e-06/0.5681, allocations: 0 / 0.6736 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001285/0.5694, allocations: 351.6 kB / 0.674 GB, free: 4.379 MB / 0.4981 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.001238/0.5706, allocations: 0.4984 MB / 0.6745 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008961/0.5715, allocations: 483 kB / 0.6749 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5716, allocations: 0 / 0.6749 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.5719, allocations: 175.7 kB / 0.6751 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.5736, allocations: 267.7 kB / 0.6753 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.575, allocations: 0.9579 MB / 0.6763 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.5755, allocations: 0.8354 MB / 0.6771 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004979/0.576, allocations: 114.4 kB / 0.6772 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5761, allocations: 51.42 kB / 0.6773 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.5762, allocations: 4 kB / 0.6773 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Templates: time 0.02527/0.6014, allocations: 14.51 MB / 0.6914 GB, free: 2.531 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches