Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.00172/0.00172, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00203/0.00203, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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.436/1.436, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 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.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 51.91 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2548, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04083/0.2956, allocations: 33.91 MB / 457.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005758/0.3013, allocations: 4.164 MB / 461.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.3016, allocations: 11.94 kB / 461.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.3025, allocations: 278.2 kB / 462.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009263/0.3034, allocations: 493.3 kB / 462.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.308, allocations: 1.626 MB / 464.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3097, allocations: 1.296 MB / 465.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.3099, allocations: 118.9 kB / 465.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.3107, allocations: 494.4 kB / 466.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.3112, allocations: 410.3 kB / 466.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.3113, allocations: 48 kB / 466.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.3129, allocations: 0.7258 MB / 467.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3131, allocations: 147.5 kB / 467.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.3133, allocations: 239.2 kB / 467.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.3148, allocations: 1.055 MB / 468.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3148, allocations: 4 kB / 468.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3148, allocations: 0 / 468.8 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3148, allocations: 0 / 468.8 MB, free: 1.336 MB / 366.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.001165/0.316, allocations: 0.7075 MB / 469.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.316, allocations: 8.922 kB / 469.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.3166, allocations: 80.62 kB / 469.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.3172, allocations: 289.7 kB / 469.9 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.3172, allocations: 29.38 kB / 469.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.3173, allocations: 36.38 kB / 469.9 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/0.3181, allocations: 0.6653 MB / 470.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3181, allocations: 0 / 470.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.3182, allocations: 20 kB / 470.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3182, allocations: 12 kB / 470.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3187, allocations: 307.6 kB / 470.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.3316, allocations: 4.566 MB / 475.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.3321, allocations: 258.3 kB / 475.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3323, allocations: 132.8 kB / 475.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.3423, allocations: 2.7 MB / 478.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3423, allocations: 46.36 kB / 478.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.3423, allocations: 0 / 478.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01172/0.3541, allocations: 2.311 MB / 480.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3541, allocations: 59.34 kB / 481 MB, free: 4.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.3545, allocations: 277.8 kB / 481.3 MB, free: 4.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.3545, allocations: 29.7 kB / 481.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3547, allocations: 236.4 kB / 481.5 MB, free: 4.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3548, allocations: 166.5 kB / 481.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3549, allocations: 102.3 kB / 481.8 MB, free: 4.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3551, allocations: 342.8 kB / 482.1 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3554, allocations: 153.2 kB / 482.3 MB, free: 3.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.3557, allocations: 280.6 kB / 482.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.3564, allocations: 472.3 kB / 483 MB, free: 2.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3564, allocations: 0 / 483 MB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.3575, allocations: 0.5879 MB / 483.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3576, allocations: 11.98 kB / 483.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3576, allocations: 7.938 kB / 483.6 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/0.3654, allocations: 1.842 MB / 485.5 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3659, allocations: 111.8 kB / 485.6 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.3681, allocations: 2.439 MB / 488 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.3684, allocations: 16 kB / 488 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3684, allocations: 20 kB / 488 MB, free: 13.49 MB / 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.000246/0.3687, allocations: 173.8 kB / 488.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.3688, allocations: 47.69 kB / 488.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.37, allocations: 0.8723 MB / 489.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3701, allocations: 7.984 kB / 489.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3701, allocations: 4 kB / 489.1 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.3711, allocations: 0.9708 MB / 490.1 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.3731, allocations: 1.362 MB / 491.5 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3732, allocations: 0 / 491.5 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.3735, allocations: 71.91 kB / 491.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/0.3767, allocations: 0.6295 MB / 492.2 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.3768, allocations: 12 kB / 492.2 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3779, allocations: 1.308 MB / 493.5 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3779, allocations: 0 / 493.5 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3796, allocations: 1.246 MB / 494.7 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3797, allocations: 43.69 kB / 494.8 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.3797, allocations: 8 kB / 494.8 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.38, allocations: 12 kB / 494.8 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.38, allocations: 31.94 kB / 494.8 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.38, allocations: 15.98 kB / 494.9 MB, free: 6.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.3803, allocations: 193.1 kB / 495 MB, free: 6.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3803, allocations: 4.062 kB / 495 MB, free: 6.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.381, allocations: 231.7 kB / 495.3 MB, free: 6.031 MB / 398.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.0006142/0.3816, allocations: 282.6 kB / 495.5 MB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3829, allocations: 0.6756 MB / 496.2 MB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3829, allocations: 0 / 496.2 MB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.3838, allocations: 421.2 kB / 496.6 MB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3849, allocations: 204.8 kB / 496.8 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3869, allocations: 1.277 MB / 498.1 MB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3871, allocations: 237.2 kB / 498.3 MB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3872, allocations: 43.42 kB / 498.4 MB, free: 2.852 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3872, allocations: 0 / 498.4 MB, free: 2.852 MB / 398.1 MB Notification: Performance of Templates: time 0.01734/0.4046, allocations: 12.94 MB / 0.4993 GB, free: 5.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.527126591652632]