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.001942/0.001942, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.23/2.23, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3923/0.3923, allocations: 46.1 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.28 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1827, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.7353/0.9181, allocations: 183.4 MB / 0.6477 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.9215, allocations: 0.9212 MB / 0.6486 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007097/0.9223, allocations: 7.938 kB / 0.6487 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.9235, allocations: 187 kB / 0.6488 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.9247, allocations: 266.6 kB / 0.6491 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008467/0.9332, allocations: 1.653 MB / 0.6507 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.9358, allocations: 1.303 MB / 0.652 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008296/0.9367, allocations: 277.2 kB / 0.6522 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006109/0.9428, allocations: 1.437 MB / 0.6536 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009659/0.9438, allocations: 334.7 kB / 0.654 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.944, allocations: 24 kB / 0.654 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009361/0.9534, allocations: 2.869 MB / 0.6568 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.9541, allocations: 179.5 kB / 0.657 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009757/0.9551, allocations: 246.8 kB / 0.6572 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.9598, allocations: 1.45 MB / 0.6586 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.9599, allocations: 0 / 0.6586 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.9599, allocations: 0 / 0.6586 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.9599, allocations: 0 / 0.6586 GB, free: 1.273 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.004274/0.9642, allocations: 1.052 MB / 0.6596 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/0.9643, allocations: 8.031 kB / 0.6596 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.9649, allocations: 55.44 kB / 0.6597 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009896/0.9659, allocations: 377.8 kB / 0.6601 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.966, allocations: 32.94 kB / 0.6601 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.9661, allocations: 43.88 kB / 0.6601 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9678, allocations: 0.512 MB / 0.6606 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.9678, allocations: 0 / 0.6606 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.9679, allocations: 16 kB / 0.6606 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.968, allocations: 15.98 kB / 0.6607 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.9695, allocations: 499.3 kB / 0.6611 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.974, allocations: 1.978 MB / 0.6631 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.9754, allocations: 456.7 kB / 0.6635 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.976, allocations: 174.5 kB / 0.6637 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.9774, allocations: 0.9533 MB / 0.6646 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.9775, allocations: 42.5 kB / 0.6646 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 4.057e-06/0.9775, allocations: 4 kB / 0.6646 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.002041/0.9795, allocations: 0.4891 MB / 0.6651 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.9796, allocations: 106.8 kB / 0.6652 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.9805, allocations: 397.6 kB / 0.6656 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.9806, allocations: 33.7 kB / 0.6656 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.9809, allocations: 216.1 kB / 0.6658 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.9811, allocations: 110.5 kB / 0.6659 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.9814, allocations: 74.06 kB / 0.666 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.9816, allocations: 350.8 kB / 0.6664 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.9822, allocations: 148.6 kB / 0.6665 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.983, allocations: 266.2 kB / 0.6667 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.9844, allocations: 491.4 kB / 0.6672 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.9844, allocations: 3.938 kB / 0.6672 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001919/0.9863, allocations: 0.5583 MB / 0.6678 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9865, allocations: 63.39 kB / 0.6678 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.9865, allocations: 4 kB / 0.6678 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.9865, allocations: 4 kB / 0.6678 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.9872, allocations: 87.83 kB / 0.6679 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.9873, allocations: 4 kB / 0.6679 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.988, allocations: 55.7 kB / 0.668 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.9881, allocations: 23.98 kB / 0.668 GB, free: 6.922 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.0004543/0.9886, allocations: 189.6 kB / 0.6682 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.9889, allocations: 43.47 kB / 0.6682 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.9907, allocations: 481.4 kB / 0.6687 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.9907, allocations: 4 kB / 0.6687 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.9907, allocations: 4.062 kB / 0.6687 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.9907, allocations: 4.172 kB / 0.6687 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.996, allocations: 2.441 MB / 0.6711 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.996, allocations: 4 kB / 0.6711 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.9965, allocations: 59.91 kB / 0.6711 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.9965, allocations: 3.938 kB / 0.6711 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.9966, allocations: 15.98 kB / 0.6712 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.9966, allocations: 0 / 0.6712 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9966, allocations: 4 kB / 0.6712 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.9982, allocations: 0.64 MB / 0.6718 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.9984, allocations: 132.5 kB / 0.6719 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.9986, allocations: 15.84 kB / 0.6719 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/0.9995, allocations: 27.91 kB / 0.672 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.9996, allocations: 27.91 kB / 0.672 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.009e-05/0.9997, allocations: 19.98 kB / 0.672 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007545/1, allocations: 367.1 kB / 0.6723 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/1, allocations: 4 kB / 0.6724 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002063/1.003, allocations: 347.6 kB / 0.6727 GB, free: 1.699 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.00235/1.005, allocations: 0.4944 MB / 0.6732 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001498/1.006, allocations: 474.3 kB / 0.6736 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.006, allocations: 0 / 0.6736 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/1.007, allocations: 160.9 kB / 0.6738 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.01, allocations: 271.3 kB / 0.674 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.012, allocations: 0.9798 MB / 0.675 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/1.013, allocations: 0.8354 MB / 0.6758 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/1.013, allocations: 51.42 kB / 0.6759 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/1.013, allocations: 0 / 0.6759 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.03058/1.044, allocations: 11.49 MB / 0.6871 GB, free: 2.941 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/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