Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001848/0.001848, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002234/0.002234, allocations: 161.7 kB / 24.27 MB, free: 172 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.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.978e-05, allocations: 6.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1487/0.1487, allocations: 33.84 MB / 306.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.1529, allocations: 4.169 MB / 310.3 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.1531, allocations: 12.5 kB / 310.4 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.1539, allocations: 274.5 kB / 310.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007365/0.1546, allocations: 0.4939 MB / 311.1 MB, free: 7.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.1582, allocations: 1.663 MB / 312.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1593, allocations: 1.293 MB / 314.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1595, allocations: 115.6 kB / 314.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.1601, allocations: 0.6408 MB / 314.8 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.1605, allocations: 378 kB / 315.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.1606, allocations: 47.44 kB / 315.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1617, allocations: 0.7254 MB / 316 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1618, allocations: 155.8 kB / 316.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.162, allocations: 209.2 kB / 316.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.163, allocations: 1.172 MB / 317.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.163, allocations: 4 kB / 317.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.163, allocations: 0 / 317.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.163, allocations: 0 / 317.5 MB, free: 3.652 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008704/0.1639, allocations: 0.71 MB / 318.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1639, allocations: 9.656 kB / 318.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.1645, allocations: 163.9 kB / 318.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.1649, allocations: 290.9 kB / 318.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1649, allocations: 31.34 kB / 318.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.165, allocations: 46.62 kB / 318.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.1656, allocations: 0.6567 MB / 319.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1656, allocations: 4.141 kB / 319.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.1656, allocations: 18.31 kB / 319.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1657, allocations: 19.56 kB / 319.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.166, allocations: 306.5 kB / 319.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.1785, allocations: 4.585 MB / 324.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.179, allocations: 259 kB / 324.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.1793, allocations: 136.8 kB / 324.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.1902, allocations: 2.679 MB / 327.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1903, allocations: 42.55 kB / 327.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.1903, allocations: 0 / 327.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01232/0.2026, allocations: 2.318 MB / 329.7 MB, free: 8.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.2027, allocations: 55.41 kB / 329.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.203, allocations: 281.7 kB / 330.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.2031, allocations: 41.7 kB / 330.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.2033, allocations: 228.4 kB / 330.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.2034, allocations: 166.6 kB / 330.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2036, allocations: 98.3 kB / 330.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.2038, allocations: 346.7 kB / 330.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.2041, allocations: 153.2 kB / 331.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.2045, allocations: 276.7 kB / 331.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.2055, allocations: 469.2 kB / 331.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2055, allocations: 4 kB / 331.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001232/0.2067, allocations: 0.6166 MB / 332.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2067, allocations: 4 kB / 332.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2067, allocations: 6.672 kB / 332.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008441/0.2152, allocations: 1.856 MB / 334.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.2156, allocations: 115.8 kB / 334.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.2182, allocations: 2.431 MB / 336.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.2184, allocations: 12 kB / 336.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.2185, allocations: 27.98 kB / 336.9 MB, free: 0.625 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.2187, allocations: 177.7 kB / 337.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2189, allocations: 47.77 kB / 337.1 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2203, allocations: 0.8692 MB / 338 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.2204, allocations: 11.92 kB / 338 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2204, allocations: 4 kB / 338 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/0.2219, allocations: 0.9789 MB / 339 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2241, allocations: 1.359 MB / 340.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2241, allocations: 0 / 340.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.2245, allocations: 79.89 kB / 340.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003606/0.2281, allocations: 0.618 MB / 341 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.2281, allocations: 16 kB / 341 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.2294, allocations: 1.299 MB / 342.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2294, allocations: 128 / 342.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.2313, allocations: 1.263 MB / 343.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.2314, allocations: 43.69 kB / 343.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.2315, allocations: 12 kB / 343.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2317, allocations: 12 kB / 343.7 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.2318, allocations: 31.94 kB / 343.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.2318, allocations: 8 kB / 343.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.232, allocations: 197.2 kB / 343.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.232, allocations: 0 / 343.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007937/0.2328, allocations: 235.6 kB / 344.1 MB, free: 9.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006707/0.2335, allocations: 293.5 kB / 344.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.2349, allocations: 0.6839 MB / 345.1 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2349, allocations: 0 / 345.1 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2359, allocations: 424.4 kB / 345.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.2373, allocations: 212.3 kB / 345.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.2393, allocations: 1.14 MB / 346.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2396, allocations: 229.3 kB / 347.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000271/0.2399, allocations: 67.36 kB / 347.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.24, allocations: 40.5 kB / 347.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.24, allocations: 0 / 347.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of Templates: time 0.02304/0.263, allocations: 11.96 MB / 359.2 MB, free: 10.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.080054717021994]