Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002325/0.002325, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.369/0.369, allocations: 46.93 MB / 361.4 MB, free: 4.383 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances")
translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 83.86 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3429, allocations: 66.04 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.518/0.8609, allocations: 185.5 MB / 0.7429 GB, free: 1.785 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001913/0.8628, allocations: 0.899 MB / 0.7437 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.863, allocations: 15.19 kB / 0.7437 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.8637, allocations: 212.7 kB / 0.744 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.8643, allocations: 295.3 kB / 0.7442 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.869, allocations: 1.959 MB / 0.7461 GB, free: 1.742 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.001246/0.8703, allocations: 1.004 MB / 0.7471 GB, free: 1.738 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.8707, allocations: 279.7 kB / 0.7474 GB, free: 1.719 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.8739, allocations: 1.595 MB / 0.749 GB, free: 1.695 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.8745, allocations: 344.9 kB / 0.7493 GB, free: 1.695 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.8746, allocations: 47.56 kB / 0.7493 GB, free: 1.695 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.8792, allocations: 2.898 MB / 0.7522 GB, free: 1.664 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.8795, allocations: 201 kB / 0.7523 GB, free: 1.664 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.8798, allocations: 268.4 kB / 0.7526 GB, free: 1.664 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.003236/0.8831, allocations: 2.061 MB / 0.7546 GB, free: 1.551 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8831, allocations: 0 / 0.7546 GB, free: 1.551 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.913e-06/0.8831, allocations: 2.875 kB / 0.7546 GB, free: 1.551 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 8.326e-06/0.8831, allocations: 0 / 0.7546 GB, free: 1.551 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.001994/0.8851, allocations: 1.013 MB / 0.7556 GB, free: 16.91 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.8851, allocations: 15.59 kB / 0.7556 GB, free: 16.91 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.8854, allocations: 57.22 kB / 0.7557 GB, free: 16.89 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.886, allocations: 316.8 kB / 0.756 GB, free: 16.71 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.886, allocations: 31.66 kB / 0.756 GB, free: 16.71 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.886, allocations: 34.59 kB / 0.756 GB, free: 16.71 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.8869, allocations: 0.5276 MB / 0.7566 GB, free: 16.62 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.8869, allocations: 1.031 kB / 0.7566 GB, free: 16.62 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.8869, allocations: 15.5 kB / 0.7566 GB, free: 16.62 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.8869, allocations: 8.438 kB / 0.7566 GB, free: 16.62 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.8877, allocations: 497.7 kB / 0.7571 GB, free: 16.62 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.8912, allocations: 1.937 MB / 0.7589 GB, free: 15.46 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.8922, allocations: 359.8 kB / 0.7593 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.8927, allocations: 168.6 kB / 0.7595 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.8934, allocations: 133.8 kB / 0.7596 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.8934, allocations: 40.69 kB / 0.7596 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=30): time 4.438e-06/0.8934, allocations: 0 / 0.7596 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=30): time 0.001906/0.8953, allocations: 0.4975 MB / 0.7601 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.8954, allocations: 108.4 kB / 0.7602 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.8962, allocations: 405.9 kB / 0.7606 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.8963, allocations: 31.27 kB / 0.7606 GB, free: 14.99 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.8966, allocations: 220.5 kB / 0.7608 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.8967, allocations: 111.4 kB / 0.7609 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.8969, allocations: 75.88 kB / 0.761 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0002389/0.8971, allocations: 360.7 kB / 0.7614 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.8976, allocations: 150.3 kB / 0.7615 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.8982, allocations: 254.4 kB / 0.7617 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.8994, allocations: 484.2 kB / 0.7622 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8994, allocations: 3.344 kB / 0.7622 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001787/0.9012, allocations: 0.551 MB / 0.7627 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.9013, allocations: 63.78 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.9013, allocations: 4.375 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.9014, allocations: 5 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.9021, allocations: 82.97 kB / 0.7629 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.9021, allocations: 9.594 kB / 0.7629 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.9028, allocations: 54.58 kB / 0.763 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.9028, allocations: 23.58 kB / 0.763 GB, free: 13.95 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.0003879/0.9032, allocations: 192.6 kB / 0.7632 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.9035, allocations: 44.89 kB / 0.7632 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.9051, allocations: 491.4 kB / 0.7637 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.9051, allocations: 7.828 kB / 0.7637 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9051, allocations: 0 / 0.7637 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.9051, allocations: 7.625 kB / 0.7637 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.9093, allocations: 1.36 MB / 0.765 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9093, allocations: 3.469 kB / 0.765 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.9098, allocations: 62.45 kB / 0.7651 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.9099, allocations: 8.906 kB / 0.7651 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.9099, allocations: 15.86 kB / 0.7651 GB, free: 13.16 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.9099, allocations: 3.812 kB / 0.7651 GB, free: 13.16 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.9099, allocations: 2.125 kB / 0.7651 GB, free: 13.16 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.9113, allocations: 0.6426 MB / 0.7657 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.9114, allocations: 50.36 kB / 0.7658 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.9115, allocations: 13.12 kB / 0.7658 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/0.9123, allocations: 24.45 kB / 0.7658 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.9124, allocations: 29.94 kB / 0.7658 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.9125, allocations: 23.89 kB / 0.7659 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0006819/0.9132, allocations: 362.6 kB / 0.7662 GB, free: 12.68 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.81e-07/0.9132, allocations: 0 / 0.7662 GB, free: 12.68 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.001958/0.9152, allocations: 358.7 kB / 0.7666 GB, free: 12.62 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.001912/0.9171, allocations: 496.6 kB / 0.767 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.00129/0.9184, allocations: 462.6 kB / 0.7675 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9184, allocations: 1.812 kB / 0.7675 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.9189, allocations: 154 kB / 0.7676 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.9214, allocations: 283.7 kB / 0.7679 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.9235, allocations: 0.8074 MB / 0.7687 GB, free: 11.91 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.9242, allocations: 0.839 MB / 0.7695 GB, free: 11.21 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0006925/0.9249, allocations: 111.3 kB / 0.7696 GB, free: 11.2 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.9251, allocations: 48.98 kB / 0.7697 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of SimCode: time 7.01e-07/0.9251, allocations: 2.031 kB / 0.7697 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of Templates: time 0.04119/0.9663, allocations: 15.35 MB / 0.7847 GB, free: 8 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.743888631463051]