Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001662/0.001662, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002106/0.002106, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(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-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001958/0.001958, allocations: 64.77 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2283, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04041/0.2687, allocations: 37.98 MB / 470.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.2746, allocations: 4.623 MB / 475 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.2748, allocations: 11.94 kB / 475 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008274/0.2757, allocations: 298.1 kB / 475.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.2765, allocations: 489.3 kB / 475.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.2807, allocations: 1.666 MB / 477.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.2822, allocations: 1.288 MB / 478.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.2824, allocations: 126.9 kB / 478.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.283, allocations: 490.4 kB / 479.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.2836, allocations: 422.4 kB / 479.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.2836, allocations: 44 kB / 479.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.285, allocations: 0.7648 MB / 480.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.2852, allocations: 139.5 kB / 480.7 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.2855, allocations: 282.9 kB / 481 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2868, allocations: 1.052 MB / 482 MB, free: 5.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2868, allocations: 4 kB / 482 MB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2868, allocations: 0 / 482 MB, free: 5.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2868, allocations: 0 / 482 MB, free: 5.137 MB / 382.1 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.001139/0.2879, allocations: 0.7152 MB / 482.8 MB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.288, allocations: 8.031 kB / 482.8 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/0.2886, allocations: 84.62 kB / 482.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.2891, allocations: 285.7 kB / 483.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2891, allocations: 29.38 kB / 483.2 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.2892, allocations: 36.38 kB / 483.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.2899, allocations: 475.6 kB / 483.7 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.29, allocations: 3.984 kB / 483.7 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.29, allocations: 20 kB / 483.7 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.29, allocations: 12 kB / 483.7 MB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.2905, allocations: 307.7 kB / 484 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3038, allocations: 5.487 MB / 489.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.3043, allocations: 262.4 kB / 489.7 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.3045, allocations: 144.8 kB / 489.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3146, allocations: 2.664 MB / 492.5 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.3147, allocations: 39.16 kB / 492.6 MB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.053e-06/0.3147, allocations: 0 / 492.6 MB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01206/0.3268, allocations: 2.312 MB / 494.9 MB, free: 7.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3268, allocations: 63.34 kB / 495 MB, free: 7.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3272, allocations: 308.5 kB / 495.3 MB, free: 7.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3272, allocations: 33.7 kB / 495.3 MB, free: 7.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3274, allocations: 228.5 kB / 495.5 MB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3275, allocations: 166.6 kB / 495.7 MB, free: 7.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.3277, allocations: 102.2 kB / 495.8 MB, free: 6.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3278, allocations: 346.8 kB / 496.1 MB, free: 6.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.3281, allocations: 153.2 kB / 496.3 MB, free: 6.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.3285, allocations: 280.6 kB / 496.5 MB, free: 6.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.3292, allocations: 468.3 kB / 497 MB, free: 5.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3292, allocations: 4 kB / 497 MB, free: 5.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001095/0.3303, allocations: 0.5883 MB / 497.6 MB, free: 4.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3303, allocations: 11.94 kB / 497.6 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3303, allocations: 8 kB / 497.6 MB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008258/0.3385, allocations: 1.841 MB / 499.5 MB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.3389, allocations: 111.8 kB / 499.6 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.3411, allocations: 2.466 MB / 0.4903 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.3413, allocations: 16 kB / 0.4903 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.3414, allocations: 20 kB / 0.4903 GB, free: 368 kB / 398.1 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.0002152/0.3416, allocations: 177.6 kB / 0.4905 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.3417, allocations: 39.77 kB / 0.4905 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.343, allocations: 0.8803 MB / 0.4914 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.343, allocations: 4 kB / 0.4914 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.343, allocations: 0 / 0.4914 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.3441, allocations: 0.9747 MB / 0.4923 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3462, allocations: 1.487 MB / 0.4938 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3462, allocations: 0 / 0.4938 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.3465, allocations: 75.94 kB / 0.4938 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/0.35, allocations: 0.6179 MB / 0.4944 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.35, allocations: 15.88 kB / 0.4945 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3511, allocations: 1.3 MB / 0.4957 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3511, allocations: 4.031 kB / 0.4957 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3527, allocations: 1.254 MB / 0.497 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.3528, allocations: 43.69 kB / 0.497 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.3529, allocations: 12.28 kB / 0.497 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3531, allocations: 11.94 kB / 0.497 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.3532, allocations: 27.94 kB / 0.497 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.3532, allocations: 19.98 kB / 0.4971 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.3534, allocations: 215.1 kB / 0.4973 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3534, allocations: 0 / 0.4973 GB, free: 8.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007019/0.3541, allocations: 227.8 kB / 0.4975 GB, free: 8.746 MB / 414.1 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.0005666/0.3547, allocations: 292 kB / 0.4978 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3559, allocations: 0.6794 MB / 0.4984 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3559, allocations: 7.938 kB / 0.4984 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.3569, allocations: 424.5 kB / 0.4988 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.358, allocations: 236.8 kB / 0.4991 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3599, allocations: 1.25 MB / 0.5003 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.3603, allocations: 0.8401 MB / 0.5011 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.3606, allocations: 72.34 kB / 0.5012 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.3607, allocations: 39.42 kB / 0.5012 GB, free: 4.855 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3607, allocations: 0 / 0.5012 GB, free: 4.855 MB / 414.1 MB Notification: Performance of Templates: time 0.02142/0.3821, allocations: 13.3 MB / 0.5142 GB, free: 7.641 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.1813454907387495]