Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.772e-05, allocations: 14.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005794/0.005822, allocations: 3.647 MB / 271 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.007934, allocations: 0.9732 MB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.008168, allocations: 7.938 kB / 271.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.008521, allocations: 103.1 kB / 272 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.008982, allocations: 218.2 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.009275, allocations: 123.8 kB / 272.4 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.01017, allocations: 0.7154 MB / 273.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.01044, allocations: 122.8 kB / 273.2 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.01095, allocations: 399.2 kB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.01133, allocations: 219.4 kB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.01143, allocations: 56 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.01155, allocations: 60 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.0117, allocations: 127.5 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.01198, allocations: 223.5 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.01291, allocations: 0.7126 MB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01291, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01291, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.01292, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001714/0.01464, allocations: 0.9563 MB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01467, allocations: 8.922 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.01484, allocations: 88.56 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.01555, allocations: 387.1 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.01569, allocations: 106.3 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.01577, allocations: 40.38 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.01716, allocations: 0.887 MB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.01718, allocations: 192 / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.01723, allocations: 20.12 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.01724, allocations: 8 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.01799, allocations: 310.4 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.02035, allocations: 1.104 MB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.02103, allocations: 282.8 kB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.0214, allocations: 163.5 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.02145, allocations: 11.94 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.02149, allocations: 41.39 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.0215, allocations: 0 / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00147/0.02297, allocations: 0.5477 MB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003042/0.02327, allocations: 448.8 kB / 280.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.02397, allocations: 0.5456 MB / 280.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.02401, allocations: 37.7 kB / 280.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.02431, allocations: 319.3 kB / 281.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.02444, allocations: 126.9 kB / 281.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.02461, allocations: 95.12 kB / 281.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.02493, allocations: 0.547 MB / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.02527, allocations: 149.6 kB / 282.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.02607, allocations: 0.7323 MB / 282.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.02674, allocations: 322.8 kB / 283.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.02674, allocations: 4 kB / 283.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00141/0.02815, allocations: 0.5014 MB / 283.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.0282, allocations: 36.36 kB / 283.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.02821, allocations: 0 / 283.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.02839, allocations: 55.34 kB / 283.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.02879, allocations: 79.89 kB / 283.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.03235, allocations: 3.761 MB / 287.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.03279, allocations: 47.77 kB / 287.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.03282, allocations: 12 kB / 287.7 MB, free: 1.324 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.03312, allocations: 216.5 kB / 287.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.03324, allocations: 63.66 kB / 288 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.03334, allocations: 52.58 kB / 288 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.03335, allocations: 4 kB / 288 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.03335, allocations: 0 / 288 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009803/0.03433, allocations: 0.6971 MB / 288.7 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.03609, allocations: 0.9614 MB / 289.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0361, allocations: 4 kB / 289.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.03651, allocations: 79.89 kB / 289.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.03652, allocations: 7.938 kB / 289.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.03654, allocations: 4 kB / 289.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.03655, allocations: 4 kB / 289.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.03655, allocations: 0 / 289.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.03777, allocations: 0.676 MB / 290.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.03803, allocations: 87.53 kB / 290.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.03809, allocations: 12 kB / 290.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.03843, allocations: 23.97 kB / 290.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.03851, allocations: 23.95 kB / 290.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.03853, allocations: 12 kB / 290.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.03899, allocations: 371 kB / 291 MB, free: 13.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.039, allocations: 0 / 291 MB, free: 13.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.03948, allocations: 139.8 kB / 291.1 MB, free: 13.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.0001767/0.03966, allocations: 115.2 kB / 291.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.04096, allocations: 0.7582 MB / 292 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.04096, allocations: 0 / 292 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.04134, allocations: 179.3 kB / 292.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.04203, allocations: 149.7 kB / 292.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.04382, allocations: 0.8726 MB / 293.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.04408, allocations: 224.5 kB / 293.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.04433, allocations: 60.25 kB / 293.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.04446, allocations: 40.5 kB / 293.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04446, allocations: 0 / 293.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of Templates: time 0.01901/0.06347, allocations: 9.314 MB / 302.8 MB, free: 2.125 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 4.867997889057733]