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.001748/0.001748, allocations: 111.5 kB / 18.45 MB, free: 4.473 MB / 14.72 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.002134/0.002134, allocations: 213.6 kB / 21.42 MB, free: 1.512 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.23 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+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 0.001497/0.001497, allocations: 55.91 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 53.32 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2358/0.3373, allocations: 37.71 MB / 465.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.3425, allocations: 4.594 MB / 469.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.3429, allocations: 9.562 kB / 469.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.3439, allocations: 300.9 kB / 470.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009772/0.3448, allocations: 487.3 kB / 470.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.3497, allocations: 1.642 MB / 472.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.3515, allocations: 1.271 MB / 473.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3517, allocations: 123.9 kB / 473.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.3525, allocations: 486.4 kB / 474.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.3531, allocations: 431 kB / 474.5 MB, free: 460 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.3532, allocations: 46.09 kB / 474.5 MB, free: 460 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.3551, allocations: 0.768 MB / 475.3 MB, free: 244 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3552, allocations: 138.1 kB / 475.4 MB, free: 164 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.3555, allocations: 280.3 kB / 475.7 MB, free: 20 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.3573, allocations: 1.048 MB / 476.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3574, allocations: 0 / 476.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3574, allocations: 0 / 476.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3574, allocations: 0 / 476.8 MB, free: 15.66 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.001404/0.3588, allocations: 0.7971 MB / 477.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3588, allocations: 10.25 kB / 477.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.3594, allocations: 76.25 kB / 477.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.36, allocations: 338.1 kB / 478 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.36, allocations: 33.44 kB / 478 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.3601, allocations: 42.31 kB / 478.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.3608, allocations: 474.6 kB / 478.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3609, allocations: 1.375 kB / 478.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.3609, allocations: 17.5 kB / 478.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3609, allocations: 11.61 kB / 478.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.3614, allocations: 307.8 kB / 478.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.376, allocations: 6.741 MB / 485.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.3765, allocations: 254.6 kB / 485.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.3767, allocations: 143.9 kB / 486 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.3877, allocations: 3.898 MB / 489.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.3878, allocations: 36.66 kB / 489.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.3878, allocations: 0 / 489.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01246/0.4002, allocations: 2.462 MB / 492.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4003, allocations: 60.09 kB / 492.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.4007, allocations: 300.5 kB / 492.7 MB, free: 4.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.4007, allocations: 32.42 kB / 492.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4009, allocations: 224.8 kB / 493 MB, free: 4.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.401, allocations: 169.8 kB / 493.1 MB, free: 4.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.4012, allocations: 106 kB / 493.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4014, allocations: 347.1 kB / 493.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.4016, allocations: 150.3 kB / 493.7 MB, free: 4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.402, allocations: 284.9 kB / 494 MB, free: 3.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.4026, allocations: 470.1 kB / 494.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4026, allocations: 1.562 kB / 494.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001078/0.4037, allocations: 0.5873 MB / 495.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4037, allocations: 11.47 kB / 495.1 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4037, allocations: 5.953 kB / 495.1 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00812/0.4119, allocations: 1.848 MB / 496.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4123, allocations: 109.1 kB / 497 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.4147, allocations: 2.569 MB / 499.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.4151, allocations: 13.88 kB / 499.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.4151, allocations: 23.61 kB / 499.6 MB, free: 15.69 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.0002789/0.4154, allocations: 186 kB / 499.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.4155, allocations: 39.67 kB / 499.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.4167, allocations: 0.8466 MB / 0.489 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.4167, allocations: 13.81 kB / 0.489 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4167, allocations: 0 / 0.489 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.4177, allocations: 0.9541 MB / 0.4899 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.4197, allocations: 1.479 MB / 0.4914 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4197, allocations: 2.562 kB / 0.4914 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.42, allocations: 79.58 kB / 0.4914 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/0.4234, allocations: 0.6196 MB / 0.492 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.4234, allocations: 16.91 kB / 0.4921 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.4245, allocations: 1.285 MB / 0.4933 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4245, allocations: 2.5 kB / 0.4933 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.4262, allocations: 1.219 MB / 0.4945 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.4264, allocations: 128.7 kB / 0.4946 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.4265, allocations: 8.062 kB / 0.4946 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.4267, allocations: 12.5 kB / 0.4946 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.4268, allocations: 35.89 kB / 0.4947 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.4268, allocations: 16 kB / 0.4947 GB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.4271, allocations: 209.9 kB / 0.4949 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4271, allocations: 0 / 0.4949 GB, free: 10.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009215/0.428, allocations: 235.7 kB / 0.4951 GB, free: 9.918 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.0006775/0.4287, allocations: 278.6 kB / 0.4954 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.43, allocations: 0.6714 MB / 0.496 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.43, allocations: 0 / 0.496 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.431, allocations: 424 kB / 0.4964 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.4323, allocations: 237.6 kB / 0.4967 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4344, allocations: 1.27 MB / 0.4979 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.4349, allocations: 0.8363 MB / 0.4987 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.435, allocations: 39.44 kB / 0.4988 GB, free: 6.117 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.435, allocations: 4 kB / 0.4988 GB, free: 6.113 MB / 398.1 MB Notification: Performance of Templates: time 0.01767/0.4526, allocations: 13.04 MB / 0.5115 GB, free: 9.082 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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: 9.838986691000173]