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.001772/0.001772, allocations: 119.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 206.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.12 MB / 345 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 75.88 kB / 482 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 62.44 MB / 0.5317 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.218/0.5292, allocations: 185.2 MB / 0.7126 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.5312, allocations: 0.8938 MB / 0.7134 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.5314, allocations: 7.938 kB / 0.7134 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.5321, allocations: 214.7 kB / 0.7136 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005646/0.5326, allocations: 290.3 kB / 0.7139 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.5376, allocations: 1.942 MB / 0.7158 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.5388, allocations: 0.9711 MB / 0.7168 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.5393, allocations: 293.1 kB / 0.717 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.5428, allocations: 1.569 MB / 0.7186 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.5434, allocations: 322.8 kB / 0.7189 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.5435, allocations: 48 kB / 0.7189 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2725/0.816, allocations: 2.78 MB / 0.7216 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.8163, allocations: 204.2 kB / 0.7218 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.8166, allocations: 265.2 kB / 0.7221 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.82, allocations: 2.057 MB / 0.7241 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.82, allocations: 4.312 kB / 0.7241 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.82, allocations: 1.422 kB / 0.7241 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.82, allocations: 0.6562 kB / 0.7241 GB, free: 4.727 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.001751/0.8218, allocations: 1.076 MB / 0.7252 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8218, allocations: 10.06 kB / 0.7252 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.8221, allocations: 58.36 kB / 0.7252 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.8226, allocations: 390.9 kB / 0.7256 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.8226, allocations: 29.22 kB / 0.7256 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.8227, allocations: 36.19 kB / 0.7257 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.8235, allocations: 0.515 MB / 0.7262 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.8236, allocations: 3.75 kB / 0.7262 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.8236, allocations: 20.62 kB / 0.7262 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.8236, allocations: 11.34 kB / 0.7262 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.8245, allocations: 493.4 kB / 0.7267 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.827, allocations: 1.974 MB / 0.7286 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.8277, allocations: 444 kB / 0.729 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.828, allocations: 170.2 kB / 0.7292 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/0.829, allocations: 0.9547 MB / 0.7301 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.829, allocations: 41.69 kB / 0.7302 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.829, allocations: 0.9062 kB / 0.7302 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001085/0.8301, allocations: 0.4925 MB / 0.7306 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.8301, allocations: 107 kB / 0.7307 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.8305, allocations: 397.6 kB / 0.7311 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.8306, allocations: 34.48 kB / 0.7311 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.8307, allocations: 225 kB / 0.7314 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.8308, allocations: 108 kB / 0.7315 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.8309, allocations: 81.11 kB / 0.7315 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.831, allocations: 351.7 kB / 0.7319 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.8313, allocations: 148.3 kB / 0.732 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.8316, allocations: 258.5 kB / 0.7323 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.8323, allocations: 483.9 kB / 0.7327 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8323, allocations: 3.188 kB / 0.7327 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008822/0.8331, allocations: 0.5522 MB / 0.7333 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.8332, allocations: 61.28 kB / 0.7333 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8332, allocations: 7.656 kB / 0.7333 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8332, allocations: 8.375 kB / 0.7333 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.8336, allocations: 82.69 kB / 0.7334 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8336, allocations: 14.05 kB / 0.7334 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.8339, allocations: 48.95 kB / 0.7335 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.834, allocations: 20.91 kB / 0.7335 GB, free: 15.85 MB / 0.5762 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.0002148/0.8342, allocations: 184.1 kB / 0.7337 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8343, allocations: 47.59 kB / 0.7337 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.8352, allocations: 484.3 kB / 0.7342 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8352, allocations: 5.375 kB / 0.7342 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8352, allocations: 1.5 kB / 0.7342 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8352, allocations: 5.625 kB / 0.7342 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.8381, allocations: 2.442 MB / 0.7366 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8381, allocations: 288 / 0.7366 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.8384, allocations: 68.17 kB / 0.7366 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8384, allocations: 3.406 kB / 0.7367 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.8384, allocations: 12.64 kB / 0.7367 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.8384, allocations: 2.656 kB / 0.7367 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8385, allocations: 8.188 kB / 0.7367 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.8392, allocations: 0.6355 MB / 0.7373 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.8393, allocations: 127.2 kB / 0.7374 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.8394, allocations: 13.73 kB / 0.7374 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.8398, allocations: 21.73 kB / 0.7374 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.8399, allocations: 32.02 kB / 0.7375 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.8399, allocations: 21.56 kB / 0.7375 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003387/0.8403, allocations: 359.6 kB / 0.7378 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8403, allocations: 1.094 kB / 0.7378 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00107/0.8413, allocations: 358.9 kB / 0.7382 GB, free: 13.12 MB / 0.5762 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.001032/0.8424, allocations: 0.5112 MB / 0.7387 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.8431, allocations: 456.9 kB / 0.7391 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8431, allocations: 0.9062 kB / 0.7391 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.8434, allocations: 162 kB / 0.7393 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.8448, allocations: 290.4 kB / 0.7396 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.8458, allocations: 0.7972 MB / 0.7403 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.8463, allocations: 0.8322 MB / 0.7411 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.8467, allocations: 119.5 kB / 0.7413 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.8468, allocations: 49.41 kB / 0.7413 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.8468, allocations: 0 / 0.7413 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.02068/0.8675, allocations: 15.13 MB / 0.7561 GB, free: 10.56 MB / 0.5762 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 -s gbode -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