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.001432/0.001432, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001629, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3512, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2003/0.5515, allocations: 184.7 MB / 0.7113 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.5534, allocations: 0.8998 MB / 0.7122 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.5536, allocations: 11.94 kB / 0.7122 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.5543, allocations: 210.7 kB / 0.7124 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.5548, allocations: 282.3 kB / 0.7127 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.5596, allocations: 1.915 MB / 0.7146 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.5606, allocations: 0.9788 MB / 0.7155 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.5611, allocations: 325.1 kB / 0.7158 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.5642, allocations: 1.562 MB / 0.7174 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.5646, allocations: 318.8 kB / 0.7177 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.5647, allocations: 52 kB / 0.7177 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3023/0.867, allocations: 2.777 MB / 0.7204 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.8675, allocations: 193.5 kB / 0.7206 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.868, allocations: 275.5 kB / 0.7209 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.8725, allocations: 2.046 MB / 0.7229 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8725, allocations: 0 / 0.7229 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8725, allocations: 0.6562 kB / 0.7229 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8725, allocations: 0 / 0.7229 GB, free: 5.199 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.002207/0.8748, allocations: 1.055 MB / 0.7239 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.8748, allocations: 13.06 kB / 0.7239 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.8751, allocations: 63.31 kB / 0.724 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.8757, allocations: 378.5 kB / 0.7243 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.8757, allocations: 32.98 kB / 0.7244 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.8758, allocations: 36.12 kB / 0.7244 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.8766, allocations: 0.5133 MB / 0.7249 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8767, allocations: 0.8125 kB / 0.7249 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.8767, allocations: 15.69 kB / 0.7249 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.8767, allocations: 13.34 kB / 0.7249 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.8776, allocations: 499.7 kB / 0.7254 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.8803, allocations: 1.978 MB / 0.7273 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.881, allocations: 455.6 kB / 0.7278 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.8813, allocations: 182 kB / 0.728 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008235/0.8821, allocations: 0.9465 MB / 0.7289 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.8822, allocations: 47.52 kB / 0.7289 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.604e-06/0.8822, allocations: 0.5 kB / 0.7289 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001162/0.8833, allocations: 498.8 kB / 0.7294 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.8834, allocations: 113.7 kB / 0.7295 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.8838, allocations: 404.3 kB / 0.7299 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.8839, allocations: 34.02 kB / 0.7299 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.884, allocations: 211.9 kB / 0.7301 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.8841, allocations: 105 kB / 0.7302 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.8842, allocations: 83.39 kB / 0.7303 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8844, allocations: 353.2 kB / 0.7306 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.8846, allocations: 148.9 kB / 0.7308 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.885, allocations: 255.1 kB / 0.731 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.8856, allocations: 478.7 kB / 0.7315 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8856, allocations: 6.5 kB / 0.7315 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008852/0.8865, allocations: 0.5486 MB / 0.732 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.8866, allocations: 60.72 kB / 0.7321 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8866, allocations: 2.094 kB / 0.7321 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8866, allocations: 5.812 kB / 0.7321 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.887, allocations: 89.69 kB / 0.7322 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.887, allocations: 4.875 kB / 0.7322 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.8874, allocations: 50.61 kB / 0.7322 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.8874, allocations: 26.88 kB / 0.7323 GB, free: 16.41 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.0002156/0.8877, allocations: 193.5 kB / 0.7324 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8878, allocations: 41.53 kB / 0.7325 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/0.8887, allocations: 489.1 kB / 0.7329 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8887, allocations: 5.219 kB / 0.733 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8887, allocations: 1.031 kB / 0.733 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8887, allocations: 3.141 kB / 0.733 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.8914, allocations: 2.427 MB / 0.7353 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.8914, allocations: 1.938 kB / 0.7353 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.8917, allocations: 71.05 kB / 0.7354 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.8917, allocations: 3 kB / 0.7354 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.8918, allocations: 10.89 kB / 0.7354 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.8918, allocations: 5.062 kB / 0.7354 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8918, allocations: 5.344 kB / 0.7354 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.8925, allocations: 0.6365 MB / 0.736 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.8926, allocations: 128.2 kB / 0.7362 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.8927, allocations: 13.66 kB / 0.7362 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.8931, allocations: 22.86 kB / 0.7362 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.8932, allocations: 30.77 kB / 0.7362 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.8933, allocations: 19.69 kB / 0.7362 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003415/0.8936, allocations: 362.8 kB / 0.7366 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8936, allocations: 2.594 kB / 0.7366 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001197/0.8948, allocations: 356.5 kB / 0.7369 GB, free: 13.68 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.00115/0.896, allocations: 0.5006 MB / 0.7374 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.8968, allocations: 478.6 kB / 0.7379 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8968, allocations: 0.875 kB / 0.7379 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.8971, allocations: 163.6 kB / 0.738 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.8985, allocations: 286.3 kB / 0.7383 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8997, allocations: 0.78 MB / 0.7391 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.9001, allocations: 0.8359 MB / 0.7399 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004214/0.9006, allocations: 120.8 kB / 0.74 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.9007, allocations: 46.72 kB / 0.74 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.9007, allocations: 0 / 0.74 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.02381/0.9245, allocations: 15.09 MB / 0.7548 GB, free: 11.18 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 -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