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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00233/0.00233, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002632/0.002632, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.695/1.695, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4287/0.4287, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.556e-05, allocations: 8 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3741/0.3741, allocations: 178 MB / 0.5422 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3762, allocations: 0.8915 MB / 0.5431 GB, free: 12.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.3763, allocations: 15.91 kB / 0.5431 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.377, allocations: 198.8 kB / 0.5433 GB, free: 12.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.3776, allocations: 308.3 kB / 0.5436 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.3825, allocations: 1.993 MB / 0.5455 GB, free: 11.19 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.3836, allocations: 0.995 MB / 0.5465 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.3841, allocations: 295.5 kB / 0.5468 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.3877, allocations: 1.721 MB / 0.5485 GB, free: 9.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.3883, allocations: 300.2 kB / 0.5487 GB, free: 9.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.591e-05/0.3884, allocations: 49.91 kB / 0.5488 GB, free: 9.285 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005272/0.3936, allocations: 2.304 MB / 0.551 GB, free: 8.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.394, allocations: 218.2 kB / 0.5512 GB, free: 7.984 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.3945, allocations: 197.3 kB / 0.5514 GB, free: 7.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.3997, allocations: 2.22 MB / 0.5536 GB, free: 5.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3997, allocations: 0 / 0.5536 GB, free: 5.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3997, allocations: 0 / 0.5536 GB, free: 5.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3997, allocations: 0 / 0.5536 GB, free: 5.629 MB / 426.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.002213/0.4019, allocations: 1.125 MB / 0.5547 GB, free: 4.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4019, allocations: 12.03 kB / 0.5547 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.4023, allocations: 103.5 kB / 0.5548 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.4029, allocations: 334.2 kB / 0.5551 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.403, allocations: 29 kB / 0.5552 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.4031, allocations: 40 kB / 0.5552 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4041, allocations: 0.7082 MB / 0.5559 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4041, allocations: 0 / 0.5559 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.4042, allocations: 19.94 kB / 0.5559 GB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4042, allocations: 12 kB / 0.5559 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.405, allocations: 371.6 kB / 0.5563 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.4081, allocations: 1.865 MB / 0.5581 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.4088, allocations: 325.1 kB / 0.5584 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4091, allocations: 135 kB / 0.5585 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.4098, allocations: 127.9 kB / 0.5587 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.4098, allocations: 45.7 kB / 0.5587 GB, free: 128 kB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.4098, allocations: 0 / 0.5587 GB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001097/0.4109, allocations: 390.2 kB / 0.5591 GB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.411, allocations: 110.8 kB / 0.5592 GB, free: 15.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.4115, allocations: 378.3 kB / 0.5595 GB, free: 15.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.4115, allocations: 37.7 kB / 0.5596 GB, free: 15.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4118, allocations: 287.1 kB / 0.5598 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4119, allocations: 122.9 kB / 0.56 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4121, allocations: 91.72 kB / 0.56 GB, free: 14.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003055/0.4124, allocations: 0.5274 MB / 0.5606 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.4127, allocations: 160.1 kB / 0.5607 GB, free: 13.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.4132, allocations: 320.1 kB / 0.561 GB, free: 13.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.4139, allocations: 449.8 kB / 0.5615 GB, free: 13.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.4139, allocations: 4 kB / 0.5615 GB, free: 13.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001099/0.415, allocations: 0.5233 MB / 0.562 GB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.4151, allocations: 59.41 kB / 0.562 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4151, allocations: 4 kB / 0.562 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4152, allocations: 7.938 kB / 0.562 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4156, allocations: 83.83 kB / 0.5621 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.4156, allocations: 12.36 kB / 0.5621 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.4159, allocations: 39.72 kB / 0.5622 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.4159, allocations: 23.98 kB / 0.5622 GB, free: 12.27 MB / 442.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.0002631/0.4162, allocations: 200.5 kB / 0.5624 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4163, allocations: 47.7 kB / 0.5624 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.4174, allocations: 448.6 kB / 0.5629 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4174, allocations: 0 / 0.5629 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4174, allocations: 4 kB / 0.5629 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.4174, allocations: 3.984 kB / 0.5629 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.4202, allocations: 1.329 MB / 0.5642 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4202, allocations: 192 / 0.5642 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.4205, allocations: 59.91 kB / 0.5642 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4205, allocations: 4 kB / 0.5642 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4206, allocations: 11.94 kB / 0.5642 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.4206, allocations: 4 kB / 0.5642 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4206, allocations: 4 kB / 0.5642 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.4215, allocations: 0.7388 MB / 0.565 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.4216, allocations: 39.75 kB / 0.565 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4217, allocations: 15.89 kB / 0.565 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.4221, allocations: 19.98 kB / 0.565 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.4222, allocations: 31.89 kB / 0.5651 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.4222, allocations: 23.98 kB / 0.5651 GB, free: 9.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003578/0.4226, allocations: 291 kB / 0.5654 GB, free: 8.887 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4226, allocations: 0 / 0.5654 GB, free: 8.887 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001409/0.424, allocations: 366.8 kB / 0.5657 GB, free: 8.527 MB / 442.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.001299/0.4253, allocations: 0.52 MB / 0.5662 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008727/0.4261, allocations: 473.5 kB / 0.5667 GB, free: 7.516 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4262, allocations: 4 kB / 0.5667 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.4265, allocations: 143.4 kB / 0.5668 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4277, allocations: 216.2 kB / 0.567 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4292, allocations: 0.7662 MB / 0.5678 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4295, allocations: 232.1 kB / 0.568 GB, free: 6.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.4298, allocations: 90.56 kB / 0.5681 GB, free: 6.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4299, allocations: 44.48 kB / 0.5681 GB, free: 5.973 MB / 442.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4299, allocations: 0 / 0.5681 GB, free: 5.973 MB / 442.7 MB Notification: Performance of Templates: time 0.02658/0.4565, allocations: 13.52 MB / 0.5813 GB, free: 8.629 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.280938654905185]