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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 198.7 kB / 23.48 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 51.92 kB / 345.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2629, allocations: 49.11 MB / 394.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02767/0.2906, allocations: 27.19 MB / 422.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.2963, allocations: 4.175 MB / 426.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.2966, allocations: 7.312 kB / 426.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.2973, allocations: 207.8 kB / 426.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.2981, allocations: 341.1 kB / 426.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004893/0.303, allocations: 1.471 MB / 428.3 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3043, allocations: 0.887 MB / 429.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3045, allocations: 82.22 kB / 429.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007329/0.3119, allocations: 4.118 MB / 433.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.3123, allocations: 294.8 kB / 433.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.3124, allocations: 39.94 kB / 433.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.3141, allocations: 0.7259 MB / 434.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.3142, allocations: 95.66 kB / 434.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.3144, allocations: 191.3 kB / 434.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3158, allocations: 0.853 MB / 435.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3158, allocations: 0 / 435.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3158, allocations: 7.938 kB / 435.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.3158, allocations: 0 / 435.6 MB, free: 11.23 MB / 350.1 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.000989/0.3168, allocations: 0.6619 MB / 436.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3168, allocations: 8.031 kB / 436.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.3173, allocations: 56.72 kB / 436.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.3178, allocations: 295.9 kB / 436.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.3178, allocations: 20.94 kB / 436.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.3178, allocations: 24.38 kB / 436.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.3184, allocations: 342.6 kB / 437 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3184, allocations: 0 / 437 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.3184, allocations: 16 kB / 437 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3185, allocations: 8 kB / 437 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.3188, allocations: 210 kB / 437.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.3324, allocations: 5.912 MB / 443.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3328, allocations: 166.6 kB / 443.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.3329, allocations: 84.83 kB / 443.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.3438, allocations: 3.885 MB / 447.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.3439, allocations: 34.56 kB / 447.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.3439, allocations: 4 kB / 447.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006481/0.3504, allocations: 1.423 MB / 448.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3504, allocations: 51.41 kB / 448.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3507, allocations: 266.5 kB / 449 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3507, allocations: 33.7 kB / 449.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3509, allocations: 184.4 kB / 449.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3509, allocations: 95.2 kB / 449.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.351, allocations: 73.64 kB / 449.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3512, allocations: 338.8 kB / 449.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3514, allocations: 95.75 kB / 449.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3516, allocations: 198.8 kB / 450 MB, free: 11.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.3521, allocations: 299 kB / 450.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3521, allocations: 3.984 kB / 450.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007077/0.3528, allocations: 391.2 kB / 450.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3528, allocations: 8.031 kB / 450.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3528, allocations: 4 kB / 450.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/0.3571, allocations: 0.9377 MB / 451.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3573, allocations: 67.91 kB / 451.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.3592, allocations: 1.974 MB / 453.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3594, allocations: 12.03 kB / 453.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3594, allocations: 12.16 kB / 453.7 MB, free: 7.77 MB / 366.1 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.0002092/0.3596, allocations: 167 kB / 453.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.3597, allocations: 31.75 kB / 453.9 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.3605, allocations: 482.2 kB / 454.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3605, allocations: 7.984 kB / 454.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3605, allocations: 0 / 454.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007619/0.3612, allocations: 0.7127 MB / 455.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3626, allocations: 0.9613 MB / 456.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3626, allocations: 0 / 456.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.3628, allocations: 39.92 kB / 456.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.3646, allocations: 316.4 kB / 456.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.3646, allocations: 12.03 kB / 456.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005645/0.3652, allocations: 0.6537 MB / 457.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3652, allocations: 3.938 kB / 457.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3662, allocations: 0.7137 MB / 457.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3664, allocations: 108.9 kB / 457.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.3664, allocations: 8 kB / 457.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3666, allocations: 4 kB / 457.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3666, allocations: 15.97 kB / 457.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.3666, allocations: 12 kB / 457.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.3668, allocations: 189.9 kB / 458.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3668, allocations: 4.062 kB / 458.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007201/0.3676, allocations: 183.7 kB / 458.3 MB, free: 2.934 MB / 366.1 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.000599/0.3682, allocations: 266.8 kB / 458.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.369, allocations: 443.6 kB / 459 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.369, allocations: 0 / 459 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.3695, allocations: 211.8 kB / 459.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.3705, allocations: 184.1 kB / 459.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3719, allocations: 0.8319 MB / 460.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3723, allocations: 0.7721 MB / 461 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.3724, allocations: 35.42 kB / 461 MB, free: 132 kB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3724, allocations: 0 / 461 MB, free: 132 kB / 366.1 MB Notification: Performance of Templates: time 0.0131/0.3855, allocations: 8.453 MB / 469.5 MB, free: 7.66 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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