Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001525/0.001525, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001566/0.001566, allocations: 164.4 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.912e-05, allocations: 2.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0351/0.03513, allocations: 24.39 MB / 274.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.04121, allocations: 3.766 MB / 278.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.04151, allocations: 7.938 kB / 278.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.04224, allocations: 198.7 kB / 278.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.04313, allocations: 361.8 kB / 279.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.04765, allocations: 1.488 MB / 280.6 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.04894, allocations: 0.8908 MB / 281.5 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.04914, allocations: 64.89 kB / 281.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007771/0.05691, allocations: 4.291 MB / 285.8 MB, free: 360 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.05741, allocations: 255.2 kB / 286.1 MB, free: 104 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.05748, allocations: 32 kB / 286.1 MB, free: 72 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.05898, allocations: 0.7023 MB / 286.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.05913, allocations: 103.6 kB / 286.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.05938, allocations: 151.7 kB / 287.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.06092, allocations: 0.9546 MB / 288 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.06092, allocations: 4 kB / 288 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06092, allocations: 0 / 288 MB, free: 14.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.06093, allocations: 0 / 288 MB, free: 14.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001039/0.06197, allocations: 0.5789 MB / 288.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.06201, allocations: 15.98 kB / 288.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.06256, allocations: 128.1 kB / 288.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.06303, allocations: 233.2 kB / 289 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.06307, allocations: 21.03 kB / 289 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.06313, allocations: 28.38 kB / 289 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.06384, allocations: 490.4 kB / 289.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.06385, allocations: 4.188 kB / 289.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.0639, allocations: 16.12 kB / 289.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.06391, allocations: 8 kB / 289.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.0643, allocations: 213.7 kB / 289.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.07804, allocations: 4.094 MB / 293.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.07841, allocations: 166.6 kB / 294 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.07857, allocations: 88.83 kB / 294.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.08978, allocations: 2.687 MB / 296.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.08983, allocations: 34.56 kB / 296.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/0.08983, allocations: 0 / 296.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.006588/0.09642, allocations: 1.276 MB / 298.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.09647, allocations: 51.41 kB / 298.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.09675, allocations: 236 kB / 298.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.09679, allocations: 29.7 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.09695, allocations: 196.3 kB / 298.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.09705, allocations: 99.16 kB / 298.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.09717, allocations: 73.62 kB / 298.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.09735, allocations: 330.8 kB / 299.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.09753, allocations: 95.75 kB / 299.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.0978, allocations: 182.9 kB / 299.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.09828, allocations: 307 kB / 299.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09828, allocations: 4 kB / 299.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009944/0.09928, allocations: 406.8 kB / 300 MB, free: 1.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.0993, allocations: 11.94 kB / 300 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.09931, allocations: 4 kB / 300 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/0.1037, allocations: 0.9326 MB / 301 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.104, allocations: 75.91 kB / 301.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09207/0.1961, allocations: 1.837 MB / 302.9 MB, free: 60.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1963, allocations: 10.31 kB / 302.9 MB, free: 60.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1963, allocations: 17.12 kB / 302.9 MB, free: 60.85 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1965, allocations: 159.3 kB / 303.1 MB, free: 60.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1966, allocations: 33.52 kB / 303.1 MB, free: 60.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/0.1973, allocations: 0.4911 MB / 303.6 MB, free: 60.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.1973, allocations: 5 kB / 303.6 MB, free: 60.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1973, allocations: 0 / 303.6 MB, free: 60.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005584/0.1978, allocations: 0.7256 MB / 304.3 MB, free: 60.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1989, allocations: 0.8535 MB / 305.2 MB, free: 59.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1989, allocations: 0.9375 kB / 305.2 MB, free: 59.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.1991, allocations: 44.14 kB / 305.2 MB, free: 59.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.2009, allocations: 319.9 kB / 305.5 MB, free: 59.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2009, allocations: 8.828 kB / 305.5 MB, free: 59.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003573/0.2012, allocations: 0.6509 MB / 306.2 MB, free: 58.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2013, allocations: 1.5 kB / 306.2 MB, free: 58.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.2021, allocations: 0.7394 MB / 306.9 MB, free: 58.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2021, allocations: 22.02 kB / 307 MB, free: 58.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.2022, allocations: 12.12 kB / 307 MB, free: 58.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2023, allocations: 5.344 kB / 307 MB, free: 58.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2024, allocations: 15.25 kB / 307 MB, free: 58.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.2024, allocations: 14.31 kB / 307 MB, free: 58.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.2025, allocations: 168.9 kB / 307.2 MB, free: 58.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2025, allocations: 0 / 307.2 MB, free: 58.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000635/0.2032, allocations: 189.3 kB / 307.4 MB, free: 58.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005518/0.2037, allocations: 278.2 kB / 307.6 MB, free: 58.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.2044, allocations: 444.4 kB / 308.1 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2044, allocations: 1.719 kB / 308.1 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.2049, allocations: 231.1 kB / 308.3 MB, free: 58.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.2057, allocations: 145.4 kB / 308.4 MB, free: 58.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2068, allocations: 0.7256 MB / 309.2 MB, free: 57.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.2069, allocations: 169.9 kB / 309.3 MB, free: 57.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.2071, allocations: 49.41 kB / 309.4 MB, free: 57.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.2072, allocations: 25.88 kB / 309.4 MB, free: 57.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2072, allocations: 0 / 309.4 MB, free: 57.55 MB / 282.7 MB Notification: Performance of Templates: time 0.0136/0.2208, allocations: 9.294 MB / 318.7 MB, free: 52.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.533313774038106]