Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001854/0.001854, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 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.00229/0.00229, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3186/0.3186, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.945e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3469/0.3469, allocations: 160.3 MB / 0.523 GB, free: 8.402 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3487, allocations: 0.8815 MB / 0.5239 GB, free: 7.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3489, allocations: 17.5 kB / 0.5239 GB, free: 7.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.3495, allocations: 200.3 kB / 0.5241 GB, free: 7.676 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.35, allocations: 309.9 kB / 0.5244 GB, free: 7.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004591/0.3546, allocations: 2 MB / 0.5263 GB, free: 6.523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009734/0.3556, allocations: 0.9808 MB / 0.5273 GB, free: 6.066 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.356, allocations: 288.2 kB / 0.5276 GB, free: 5.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.3594, allocations: 1.735 MB / 0.5293 GB, free: 5.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.3599, allocations: 288.8 kB / 0.5295 GB, free: 5.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.36, allocations: 48.06 kB / 0.5296 GB, free: 5.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.3639, allocations: 2.308 MB / 0.5318 GB, free: 4.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.3641, allocations: 207.9 kB / 0.532 GB, free: 4.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.3643, allocations: 200.8 kB / 0.5322 GB, free: 4.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.3673, allocations: 2.22 MB / 0.5344 GB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3673, allocations: 8 kB / 0.5344 GB, free: 3.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3673, allocations: 2.719 kB / 0.5344 GB, free: 3.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3673, allocations: 0 / 0.5344 GB, free: 3.207 MB / 410.7 MB 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.001784/0.3691, allocations: 0.9933 MB / 0.5354 GB, free: 2.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3692, allocations: 10.5 kB / 0.5354 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.3695, allocations: 99.39 kB / 0.5355 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.37, allocations: 336.5 kB / 0.5358 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.37, allocations: 28.81 kB / 0.5358 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.3701, allocations: 45.55 kB / 0.5359 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.3709, allocations: 0.7762 MB / 0.5366 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3709, allocations: 0 / 0.5366 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.371, allocations: 17.81 kB / 0.5367 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.371, allocations: 10.56 kB / 0.5367 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.3717, allocations: 492.3 kB / 0.5371 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3738, allocations: 1.479 MB / 0.5386 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.3745, allocations: 357.2 kB / 0.5389 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.3749, allocations: 171.9 kB / 0.5391 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.3753, allocations: 130.7 kB / 0.5392 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3753, allocations: 43.75 kB / 0.5393 GB, free: 15.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.3753, allocations: 0 / 0.5393 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001151/0.3765, allocations: 0.4949 MB / 0.5397 GB, free: 15.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.3766, allocations: 109.3 kB / 0.5398 GB, free: 15.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.3769, allocations: 295.1 kB / 0.5401 GB, free: 14.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.377, allocations: 43.08 kB / 0.5402 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3772, allocations: 225.6 kB / 0.5404 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3773, allocations: 112.4 kB / 0.5405 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3774, allocations: 78.05 kB / 0.5406 GB, free: 14.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3776, allocations: 342.4 kB / 0.5409 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.378, allocations: 204.5 kB / 0.5411 GB, free: 14.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.3785, allocations: 310.8 kB / 0.5414 GB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.3793, allocations: 481.9 kB / 0.5418 GB, free: 13.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3793, allocations: 6.438 kB / 0.5418 GB, free: 13.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001127/0.3804, allocations: 0.6064 MB / 0.5424 GB, free: 13.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.3805, allocations: 67.28 kB / 0.5425 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3805, allocations: 3.25 kB / 0.5425 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3805, allocations: 8.969 kB / 0.5425 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3809, allocations: 91.5 kB / 0.5426 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3809, allocations: 9.281 kB / 0.5426 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3812, allocations: 40.81 kB / 0.5426 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.3813, allocations: 20.28 kB / 0.5427 GB, free: 12.96 MB / 426.7 MB 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.0002581/0.3815, allocations: 181.4 kB / 0.5428 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3817, allocations: 45.31 kB / 0.5429 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3828, allocations: 490.6 kB / 0.5433 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3828, allocations: 5.469 kB / 0.5434 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3828, allocations: 240 / 0.5434 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3828, allocations: 2.812 kB / 0.5434 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.3853, allocations: 1.205 MB / 0.5445 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3853, allocations: 2.875 kB / 0.5445 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.3856, allocations: 60.72 kB / 0.5446 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3856, allocations: 5.875 kB / 0.5446 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3856, allocations: 6.562 kB / 0.5446 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.3857, allocations: 8.812 kB / 0.5446 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3857, allocations: 7.406 kB / 0.5446 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.3866, allocations: 0.6443 MB / 0.5452 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.3866, allocations: 40.86 kB / 0.5453 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.3867, allocations: 17.2 kB / 0.5453 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.3871, allocations: 18.89 kB / 0.5453 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.3872, allocations: 35.23 kB / 0.5454 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3873, allocations: 21.42 kB / 0.5454 GB, free: 11.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003384/0.3876, allocations: 276 kB / 0.5456 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3876, allocations: 0 / 0.5456 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001163/0.3888, allocations: 363.5 kB / 0.546 GB, free: 10.75 MB / 426.7 MB 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.001288/0.3901, allocations: 0.524 MB / 0.5465 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3911, allocations: 0.4984 MB / 0.547 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3911, allocations: 0 / 0.547 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.3915, allocations: 163.7 kB / 0.5471 GB, free: 9.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.393, allocations: 212.8 kB / 0.5473 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3945, allocations: 0.7734 MB / 0.5481 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3947, allocations: 236.1 kB / 0.5483 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003725/0.3951, allocations: 101.9 kB / 0.5484 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3953, allocations: 44.48 kB / 0.5485 GB, free: 8.379 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3953, allocations: 0 / 0.5485 GB, free: 8.379 MB / 426.7 MB Notification: Performance of Templates: time 0.02596/0.4212, allocations: 13.49 MB / 0.5616 GB, free: 11.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 5.754774957895279]