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.001311/0.001311, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001476/0.001476, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.427/1.427, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2249/0.2249, allocations: 46.89 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 180] 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.00255/0.00255, allocations: 75.88 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.346, allocations: 65.98 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5707/0.9166, allocations: 185.5 MB / 0.7424 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.9184, allocations: 0.9032 MB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.9186, allocations: 8.25 kB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.9192, allocations: 215.7 kB / 0.7435 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.9197, allocations: 288.8 kB / 0.7438 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.924, allocations: 1.938 MB / 0.7457 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.925, allocations: 0.9834 MB / 0.7466 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.9254, allocations: 278.8 kB / 0.7469 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.9282, allocations: 1.582 MB / 0.7484 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.9286, allocations: 340.6 kB / 0.7488 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.9287, allocations: 44.41 kB / 0.7488 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.9329, allocations: 2.863 MB / 0.7516 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.9332, allocations: 201.8 kB / 0.7518 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.9335, allocations: 271.4 kB / 0.752 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.9366, allocations: 2.052 MB / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9366, allocations: 2.812 kB / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9366, allocations: 0 / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.9366, allocations: 0.9688 kB / 0.7541 GB, free: 1.543 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.001821/0.9384, allocations: 1.086 MB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9385, allocations: 8.438 kB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.9387, allocations: 61.41 kB / 0.7552 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.9393, allocations: 388.4 kB / 0.7555 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.9393, allocations: 28.34 kB / 0.7556 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.9394, allocations: 37.75 kB / 0.7556 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.9401, allocations: 0.5175 MB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.9401, allocations: 4.031 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.9402, allocations: 16.81 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9402, allocations: 7.219 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.9409, allocations: 0.4935 MB / 0.7566 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.9434, allocations: 1.974 MB / 0.7586 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.944, allocations: 434.8 kB / 0.759 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.9443, allocations: 172.5 kB / 0.7591 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008973/0.9452, allocations: 0.9505 MB / 0.7601 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.9452, allocations: 38.97 kB / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.013e-06/0.9452, allocations: 0 / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001025/0.9462, allocations: 0.5008 MB / 0.7606 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.9463, allocations: 107.9 kB / 0.7607 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.9467, allocations: 401.2 kB / 0.7611 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.9467, allocations: 32.34 kB / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.9469, allocations: 224.2 kB / 0.7613 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.9469, allocations: 114 kB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.947, allocations: 77.12 kB / 0.7615 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.9472, allocations: 353.1 kB / 0.7618 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.9475, allocations: 149.7 kB / 0.762 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.9478, allocations: 260.9 kB / 0.7622 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.9485, allocations: 484.2 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9485, allocations: 3.188 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009205/0.9494, allocations: 0.5449 MB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.9494, allocations: 63.05 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9495, allocations: 8.078 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9495, allocations: 8.156 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.9499, allocations: 85.89 kB / 0.7634 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/0.9499, allocations: 9.75 kB / 0.7634 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.9502, allocations: 54.47 kB / 0.7634 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.9503, allocations: 22.34 kB / 0.7635 GB, free: 12.61 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.0002322/0.9505, allocations: 184 kB / 0.7636 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.9506, allocations: 43.52 kB / 0.7637 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008786/0.9515, allocations: 489.8 kB / 0.7641 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9515, allocations: 3.875 kB / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9515, allocations: 0 / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.9516, allocations: 124.2 kB / 0.7643 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.9517, allocations: 18.89 kB / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.9521, allocations: 17.03 kB / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.9521, allocations: 23.5 kB / 0.7643 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007806/0.9529, allocations: 0.5732 MB / 0.7649 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00074/0.9536, allocations: 0.6777 MB / 0.7655 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002528/0.9539, allocations: 142.7 kB / 0.7657 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003461/0.9542, allocations: 358.9 kB / 0.766 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of Backend: time 4.31e-07/0.9542, allocations: 0 / 0.766 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003105/0.9574, allocations: 1.064 MB / 0.7671 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001927/0.9593, allocations: 1.314 MB / 0.7683 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02783/0.9871, allocations: 19.35 MB / 0.7872 GB, free: 5.496 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.2397711290977895]