Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 46.96 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 64.12 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3402, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2176/0.5578, allocations: 160.4 MB / 0.7185 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.56, allocations: 0.8736 MB / 0.7193 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.5604, allocations: 19.88 kB / 0.7193 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.5612, allocations: 194.7 kB / 0.7195 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008328/0.562, allocations: 302.3 kB / 0.7198 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005788/0.5678, allocations: 1.961 MB / 0.7217 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.5693, allocations: 0.9867 MB / 0.7227 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.5698, allocations: 285.2 kB / 0.723 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.5733, allocations: 1.593 MB / 0.7245 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.5738, allocations: 338.8 kB / 0.7248 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.5739, allocations: 48 kB / 0.7249 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.5785, allocations: 2.367 MB / 0.7272 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.5788, allocations: 203.5 kB / 0.7274 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.5792, allocations: 231.2 kB / 0.7276 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.5824, allocations: 1.979 MB / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5824, allocations: 0 / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5824, allocations: 0 / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5824, allocations: 0 / 0.7295 GB, free: 7.812 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.002058/0.5845, allocations: 0.9935 MB / 0.7305 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5845, allocations: 11.97 kB / 0.7305 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.5848, allocations: 71.59 kB / 0.7306 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.5854, allocations: 315.9 kB / 0.7309 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.5855, allocations: 32.94 kB / 0.7309 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.5855, allocations: 39.94 kB / 0.731 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5867, allocations: 0.7708 MB / 0.7317 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5867, allocations: 0 / 0.7317 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.5867, allocations: 16 kB / 0.7317 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.5867, allocations: 12 kB / 0.7317 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000934/0.5877, allocations: 495.5 kB / 0.7322 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.5903, allocations: 1.469 MB / 0.7336 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.5911, allocations: 363.2 kB / 0.734 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.5914, allocations: 170.5 kB / 0.7342 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/0.5919, allocations: 131.9 kB / 0.7343 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5919, allocations: 42.66 kB / 0.7343 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.983e-06/0.5919, allocations: 0 / 0.7343 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001167/0.5931, allocations: 0.4894 MB / 0.7348 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.5932, allocations: 110.8 kB / 0.7349 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.5936, allocations: 296.6 kB / 0.7352 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.5936, allocations: 33.7 kB / 0.7352 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.5938, allocations: 228.2 kB / 0.7354 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.5939, allocations: 115 kB / 0.7355 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.594, allocations: 78.05 kB / 0.7356 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5942, allocations: 338.8 kB / 0.7359 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.5946, allocations: 204 kB / 0.7361 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.595, allocations: 317.6 kB / 0.7364 GB, free: 348 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2515/0.8465, allocations: 479.5 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.8465, allocations: 4.906 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001356/0.8479, allocations: 0.5959 MB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.8479, allocations: 60.95 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.8479, allocations: 3.953 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.8479, allocations: 9.156 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.8484, allocations: 84.12 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8484, allocations: 9.75 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.8488, allocations: 43 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.8488, allocations: 19.62 kB / 0.7377 GB, free: 174.7 MB / 0.5606 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.0002525/0.8491, allocations: 186.5 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.8492, allocations: 33.78 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.8504, allocations: 478.8 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.8504, allocations: 4.125 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8504, allocations: 4.906 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.8505, allocations: 36.62 kB / 0.7384 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.8506, allocations: 14.42 kB / 0.7384 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.8509, allocations: 23.03 kB / 0.7384 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.851, allocations: 22.84 kB / 0.7385 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008884/0.8519, allocations: 0.5703 MB / 0.739 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006506/0.8525, allocations: 0.6707 MB / 0.7397 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002625/0.8528, allocations: 140.3 kB / 0.7398 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002515/0.8531, allocations: 276.8 kB / 0.7401 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of Backend: time 5.51e-07/0.8531, allocations: 0 / 0.7401 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.8559, allocations: 1.11 MB / 0.7412 GB, free: 173 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00131/0.8572, allocations: 1.224 MB / 0.7424 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0218/0.879, allocations: 18.53 MB / 0.7605 GB, free: 154.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.171016502004932]