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.002322/0.002322, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.002199/0.002199, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.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.2294/0.2294, allocations: 46.9 MB / 357.4 MB, free: 10.46 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.002321/0.002321, allocations: 79.86 kB / 0.4917 GB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1625, allocations: 65.97 MB / 0.5561 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5097/0.6722, allocations: 185.3 MB / 0.7371 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.6744, allocations: 0.9008 MB / 0.738 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003604/0.6747, allocations: 7.938 kB / 0.738 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.6755, allocations: 214.6 kB / 0.7382 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.6763, allocations: 278.4 kB / 0.7384 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005978/0.6822, allocations: 1.942 MB / 0.7403 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.6837, allocations: 0.9711 MB / 0.7413 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.6841, allocations: 293.6 kB / 0.7416 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.6877, allocations: 1.581 MB / 0.7431 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.6884, allocations: 338.8 kB / 0.7434 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.6885, allocations: 48 kB / 0.7435 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006525/0.695, allocations: 2.866 MB / 0.7463 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.6953, allocations: 195.5 kB / 0.7465 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.6957, allocations: 270.8 kB / 0.7467 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003804/0.6995, allocations: 2.057 MB / 0.7487 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6996, allocations: 4 kB / 0.7487 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6996, allocations: 0 / 0.7487 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.6996, allocations: 4 kB / 0.7487 GB, free: 12.24 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.002042/0.7016, allocations: 1.073 MB / 0.7498 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7017, allocations: 15.97 kB / 0.7498 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.702, allocations: 63.67 kB / 0.7499 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.7026, allocations: 386 kB / 0.7502 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.7026, allocations: 29 kB / 0.7502 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.7027, allocations: 35.98 kB / 0.7503 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/0.7037, allocations: 0.5237 MB / 0.7508 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7037, allocations: 0 / 0.7508 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.7037, allocations: 20 kB / 0.7508 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.7037, allocations: 8 kB / 0.7508 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.7047, allocations: 495.5 kB / 0.7513 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.7075, allocations: 1.967 MB / 0.7532 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.7083, allocations: 440.7 kB / 0.7536 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.7087, allocations: 174.4 kB / 0.7538 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.7097, allocations: 0.9494 MB / 0.7547 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.7097, allocations: 46.5 kB / 0.7548 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.7097, allocations: 3.938 kB / 0.7548 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001204/0.7109, allocations: 497.1 kB / 0.7552 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.711, allocations: 106.8 kB / 0.7554 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.7115, allocations: 405.5 kB / 0.7557 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.7116, allocations: 37.7 kB / 0.7558 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.7117, allocations: 220.4 kB / 0.756 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.7118, allocations: 107.1 kB / 0.7561 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.712, allocations: 78.02 kB / 0.7562 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7122, allocations: 350.8 kB / 0.7565 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.7125, allocations: 156.6 kB / 0.7566 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.7129, allocations: 254.8 kB / 0.7569 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.7138, allocations: 485.3 kB / 0.7573 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.7138, allocations: 0 / 0.7573 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001081/0.7149, allocations: 0.5544 MB / 0.7579 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.7149, allocations: 59.41 kB / 0.7579 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7149, allocations: 4 kB / 0.758 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7149, allocations: 8 kB / 0.758 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.7154, allocations: 87.45 kB / 0.758 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.7154, allocations: 11.98 kB / 0.7581 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.7157, allocations: 51.97 kB / 0.7581 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.7158, allocations: 23.98 kB / 0.7581 GB, free: 1.891 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.0002439/0.716, allocations: 185.8 kB / 0.7583 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.7162, allocations: 51.69 kB / 0.7584 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.7173, allocations: 485.3 kB / 0.7588 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.7173, allocations: 4 kB / 0.7588 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7173, allocations: 0 / 0.7588 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7173, allocations: 4 kB / 0.7588 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.7206, allocations: 2.435 MB / 0.7612 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7206, allocations: 0 / 0.7612 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.7209, allocations: 59.91 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.7209, allocations: 4 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.7209, allocations: 16.17 kB / 0.7613 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.7209, allocations: 7.938 kB / 0.7613 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7209, allocations: 0 / 0.7613 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.7218, allocations: 0.6441 MB / 0.7619 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.722, allocations: 128.7 kB / 0.762 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.722, allocations: 19.88 kB / 0.7621 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.7225, allocations: 19.97 kB / 0.7621 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.7226, allocations: 31.91 kB / 0.7621 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.7226, allocations: 23.98 kB / 0.7621 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004472/0.7231, allocations: 359.1 kB / 0.7625 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7231, allocations: 4 kB / 0.7625 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001136/0.7242, allocations: 358.9 kB / 0.7628 GB, free: 12.67 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.001388/0.7256, allocations: 0.4946 MB / 0.7633 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009348/0.7265, allocations: 458.3 kB / 0.7637 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7265, allocations: 0.75 kB / 0.7637 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.7269, allocations: 159.7 kB / 0.7639 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.7283, allocations: 297.5 kB / 0.7642 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.7297, allocations: 0.8107 MB / 0.765 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.7302, allocations: 0.8312 MB / 0.7658 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000398/0.7306, allocations: 115.7 kB / 0.7659 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.7308, allocations: 47.42 kB / 0.7659 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.7308, allocations: 0 / 0.7659 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of Templates: time 0.02771/0.7585, allocations: 15.16 MB / 0.7807 GB, free: 10.35 MB / 0.5919 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.360787641257048]