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.001745/0.001745, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002243/0.002243, allocations: 216.7 kB / 25.13 MB, free: 3.582 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.438/1.438, allocations: 230.2 MB / 258.5 MB, free: 8.23 MB / 206.1 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.2249/0.2249, allocations: 46.91 MB / 361.8 MB, free: 4.41 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002568/0.002568, allocations: 83.86 kB / 0.4975 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2892, allocations: 66.04 MB / 0.562 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5257/0.8149, allocations: 183.6 MB / 0.7413 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.8171, allocations: 0.9023 MB / 0.7422 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.8174, allocations: 12.28 kB / 0.7422 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.818, allocations: 219.5 kB / 0.7424 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.8185, allocations: 288.6 kB / 0.7427 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.8232, allocations: 1.965 MB / 0.7446 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.8243, allocations: 0.9947 MB / 0.7456 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.8246, allocations: 282.2 kB / 0.7458 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.8274, allocations: 1.594 MB / 0.7474 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.8278, allocations: 341.8 kB / 0.7477 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.8279, allocations: 47.53 kB / 0.7478 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.8315, allocations: 2.365 MB / 0.7501 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.8317, allocations: 201.3 kB / 0.7503 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.8319, allocations: 270.6 kB / 0.7505 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.8342, allocations: 1.958 MB / 0.7524 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8342, allocations: 3.219 kB / 0.7524 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8342, allocations: 0 / 0.7524 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.8343, allocations: 0 / 0.7524 GB, free: 1.527 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.001747/0.836, allocations: 1.014 MB / 0.7534 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.836, allocations: 9.594 kB / 0.7534 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.8363, allocations: 60.02 kB / 0.7535 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.8368, allocations: 315.8 kB / 0.7538 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.8368, allocations: 35.94 kB / 0.7538 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.8369, allocations: 37.72 kB / 0.7539 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.8377, allocations: 0.5146 MB / 0.7544 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.8377, allocations: 3.406 kB / 0.7544 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.8377, allocations: 15.94 kB / 0.7544 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.8377, allocations: 14.92 kB / 0.7544 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.8385, allocations: 494.9 kB / 0.7549 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.8409, allocations: 1.937 MB / 0.7568 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.8416, allocations: 358.4 kB / 0.7571 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.8418, allocations: 173.4 kB / 0.7573 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.8422, allocations: 130 kB / 0.7574 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8422, allocations: 43.44 kB / 0.7574 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.8422, allocations: 4.812 kB / 0.7574 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009621/0.8432, allocations: 0.4979 MB / 0.7579 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.8433, allocations: 108.3 kB / 0.758 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.8436, allocations: 401.9 kB / 0.7584 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.8436, allocations: 35.98 kB / 0.7584 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8438, allocations: 217.7 kB / 0.7586 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.8438, allocations: 107.9 kB / 0.7588 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.8439, allocations: 74.05 kB / 0.7588 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8441, allocations: 357 kB / 0.7592 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.8444, allocations: 155.6 kB / 0.7593 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.8447, allocations: 255.4 kB / 0.7596 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.8453, allocations: 480.4 kB / 0.76 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8453, allocations: 3.188 kB / 0.76 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000855/0.8461, allocations: 0.5551 MB / 0.7606 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.8462, allocations: 62.5 kB / 0.7606 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.8462, allocations: 3.188 kB / 0.7606 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8462, allocations: 5.969 kB / 0.7606 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.8466, allocations: 88.11 kB / 0.7607 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8466, allocations: 10.19 kB / 0.7607 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.8469, allocations: 51.5 kB / 0.7608 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.847, allocations: 22.06 kB / 0.7608 GB, free: 13.91 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.0001937/0.8472, allocations: 187.5 kB / 0.761 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.8473, allocations: 44.05 kB / 0.761 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.8482, allocations: 495.1 kB / 0.7615 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8482, allocations: 5.219 kB / 0.7615 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8482, allocations: 0.8125 kB / 0.7615 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8482, allocations: 4.375 kB / 0.7615 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.8504, allocations: 1.356 MB / 0.7628 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8504, allocations: 3.438 kB / 0.7628 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.8506, allocations: 61.38 kB / 0.7629 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8506, allocations: 4.938 kB / 0.7629 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.8507, allocations: 15.33 kB / 0.7629 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8507, allocations: 6.031 kB / 0.7629 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8507, allocations: 5.969 kB / 0.7629 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.8514, allocations: 0.6354 MB / 0.7635 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.8515, allocations: 57.16 kB / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.8515, allocations: 12.47 kB / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.852, allocations: 23.83 kB / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.852, allocations: 30.08 kB / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.8521, allocations: 21 kB / 0.7637 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003345/0.8524, allocations: 364.5 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8524, allocations: 0 / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001026/0.8534, allocations: 366.3 kB / 0.7644 GB, free: 12.61 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.001007/0.8544, allocations: 0.497 MB / 0.7648 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.8552, allocations: 453.4 kB / 0.7653 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8552, allocations: 0 / 0.7653 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.8554, allocations: 157.6 kB / 0.7654 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.8567, allocations: 280.6 kB / 0.7657 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.8579, allocations: 0.8098 MB / 0.7665 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.8583, allocations: 0.8352 MB / 0.7673 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003603/0.8587, allocations: 117.1 kB / 0.7674 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.8588, allocations: 46.48 kB / 0.7675 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.8588, allocations: 0 / 0.7675 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.0223/0.8811, allocations: 15.35 MB / 0.7825 GB, free: 8.484 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/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.055431310989661]