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.001084/0.001084, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4043/0.526, allocations: 184.7 MB / 0.6505 GB, free: 9.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.5279, allocations: 0.8938 MB / 0.6514 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.5281, allocations: 7.938 kB / 0.6514 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.5288, allocations: 202.7 kB / 0.6516 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.5293, allocations: 286.3 kB / 0.6519 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.5337, allocations: 1.919 MB / 0.6537 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.5347, allocations: 0.9788 MB / 0.6547 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.5352, allocations: 336.7 kB / 0.655 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.5384, allocations: 1.558 MB / 0.6565 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.5389, allocations: 326.8 kB / 0.6569 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.5389, allocations: 44 kB / 0.6569 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.5433, allocations: 2.787 MB / 0.6596 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.5436, allocations: 203.5 kB / 0.6598 GB, free: 452 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.5439, allocations: 262.9 kB / 0.6601 GB, free: 188 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.5469, allocations: 2.054 MB / 0.6621 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5469, allocations: 0 / 0.6621 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5469, allocations: 0 / 0.6621 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5469, allocations: 0 / 0.6621 GB, free: 14.12 MB / 0.4981 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.001739/0.5487, allocations: 1.056 MB / 0.6631 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5487, allocations: 8.031 kB / 0.6631 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.549, allocations: 55.44 kB / 0.6632 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.5495, allocations: 389.8 kB / 0.6635 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.5496, allocations: 25 kB / 0.6636 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.5497, allocations: 39.94 kB / 0.6636 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.5505, allocations: 0.5212 MB / 0.6641 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5505, allocations: 0 / 0.6641 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.5506, allocations: 16 kB / 0.6641 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5506, allocations: 12 kB / 0.6641 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.5514, allocations: 499.3 kB / 0.6646 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.554, allocations: 1.97 MB / 0.6665 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.5547, allocations: 452.7 kB / 0.667 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.555, allocations: 186.5 kB / 0.6671 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/0.5558, allocations: 0.9455 MB / 0.6681 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5558, allocations: 42.5 kB / 0.6681 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.5558, allocations: 4 kB / 0.6681 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001073/0.5569, allocations: 0.4926 MB / 0.6686 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.557, allocations: 106.8 kB / 0.6687 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.5574, allocations: 401.5 kB / 0.6691 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.5574, allocations: 33.7 kB / 0.6691 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5576, allocations: 212.2 kB / 0.6693 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.5577, allocations: 110.5 kB / 0.6694 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.5578, allocations: 82 kB / 0.6695 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.558, allocations: 350.8 kB / 0.6698 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.5583, allocations: 148.7 kB / 0.67 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.5586, allocations: 254.3 kB / 0.6702 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.5593, allocations: 491.8 kB / 0.6707 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5593, allocations: 0 / 0.6707 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009148/0.5602, allocations: 0.5471 MB / 0.6712 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.5603, allocations: 63.41 kB / 0.6713 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5603, allocations: 4 kB / 0.6713 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5603, allocations: 4 kB / 0.6713 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5607, allocations: 83.83 kB / 0.6714 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5607, allocations: 7.984 kB / 0.6714 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.561, allocations: 55.38 kB / 0.6714 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.5611, allocations: 24.2 kB / 0.6714 GB, free: 3.789 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.0001965/0.5613, allocations: 189.6 kB / 0.6716 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5614, allocations: 39.53 kB / 0.6717 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.5624, allocations: 488.8 kB / 0.6721 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5624, allocations: 7.938 kB / 0.6721 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5624, allocations: 4 kB / 0.6721 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5624, allocations: 0 / 0.6721 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.5652, allocations: 2.435 MB / 0.6745 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.5652, allocations: 4 kB / 0.6745 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.5655, allocations: 63.97 kB / 0.6746 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5655, allocations: 7.938 kB / 0.6746 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.5655, allocations: 11.98 kB / 0.6746 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5655, allocations: 4 kB / 0.6746 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5656, allocations: 8.188 kB / 0.6746 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.5663, allocations: 0.6316 MB / 0.6752 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5664, allocations: 128.5 kB / 0.6754 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.5665, allocations: 15.84 kB / 0.6754 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.5669, allocations: 23.97 kB / 0.6754 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.567, allocations: 31.91 kB / 0.6754 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.5671, allocations: 19.98 kB / 0.6754 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003929/0.5675, allocations: 363.1 kB / 0.6758 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5675, allocations: 0 / 0.6758 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001046/0.5685, allocations: 335.8 kB / 0.6761 GB, free: 14.6 MB / 0.5137 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.001118/0.5696, allocations: 0.5141 MB / 0.6766 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.5705, allocations: 472.9 kB / 0.6771 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5705, allocations: 0 / 0.6771 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.5708, allocations: 168.9 kB / 0.6772 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5721, allocations: 281.7 kB / 0.6775 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5733, allocations: 0.8001 MB / 0.6783 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.5737, allocations: 0.8312 MB / 0.6791 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000371/0.5741, allocations: 115.5 kB / 0.6792 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.5742, allocations: 47.42 kB / 0.6792 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.5742, allocations: 4 kB / 0.6792 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.02195/0.5962, allocations: 15.02 MB / 0.6939 GB, free: 12.38 MB / 0.5294 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