Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001832/0.001832, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002499/0.002499, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 51.91 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2251, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03015/0.2552, allocations: 27.43 MB / 459.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.2605, allocations: 4.21 MB / 463.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.2607, allocations: 7.938 kB / 463.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.2613, allocations: 206.7 kB / 463.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.2619, allocations: 342.1 kB / 463.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.2657, allocations: 1.489 MB / 465.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2667, allocations: 0.8951 MB / 466.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2669, allocations: 84.81 kB / 466.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/0.2738, allocations: 4.135 MB / 470.4 MB, free: 4 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.2743, allocations: 287 kB / 470.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.2743, allocations: 32 kB / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.2757, allocations: 0.7297 MB / 471.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2759, allocations: 95.66 kB / 471.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.2761, allocations: 195.2 kB / 471.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2773, allocations: 0.8608 MB / 472.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2773, allocations: 4 kB / 472.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2773, allocations: 0 / 472.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2773, allocations: 0 / 472.6 MB, free: 13.81 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009613/0.2782, allocations: 0.5828 MB / 473.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2783, allocations: 12.03 kB / 473.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.2787, allocations: 56.73 kB / 473.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2792, allocations: 230 kB / 473.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2792, allocations: 21.03 kB / 473.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.2792, allocations: 24.38 kB / 473.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.2798, allocations: 343.7 kB / 473.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2798, allocations: 4 kB / 473.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2798, allocations: 12 kB / 473.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2798, allocations: 4 kB / 473.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.2802, allocations: 209.8 kB / 474.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.2933, allocations: 4.668 MB / 478.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.2936, allocations: 170.7 kB / 478.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.2938, allocations: 80.78 kB / 479 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.3045, allocations: 2.68 MB / 481.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.3045, allocations: 38.5 kB / 481.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.3045, allocations: 0 / 481.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006384/0.3109, allocations: 1.275 MB / 483 MB, free: 3.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.311, allocations: 59.33 kB / 483 MB, free: 3.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.3113, allocations: 257.9 kB / 483.3 MB, free: 2.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.3113, allocations: 33.7 kB / 483.3 MB, free: 2.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3115, allocations: 192.4 kB / 483.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.3115, allocations: 99.17 kB / 483.6 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.3116, allocations: 61.66 kB / 483.7 MB, free: 2.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3118, allocations: 338.8 kB / 484 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.312, allocations: 95.95 kB / 484.1 MB, free: 1.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3122, allocations: 178.9 kB / 484.3 MB, free: 1.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.3127, allocations: 310.9 kB / 484.6 MB, free: 1.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3127, allocations: 0 / 484.6 MB, free: 1.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007351/0.3134, allocations: 398.8 kB / 485 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3134, allocations: 4 kB / 485 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3134, allocations: 4 kB / 485 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.3177, allocations: 0.9351 MB / 485.9 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.318, allocations: 67.91 kB / 486 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.3198, allocations: 1.882 MB / 487.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.32, allocations: 8 kB / 487.9 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.32, allocations: 16 kB / 487.9 MB, free: 13.9 MB / 398.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.0001737/0.3202, allocations: 145.8 kB / 488 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.3203, allocations: 31.75 kB / 488.1 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007994/0.3211, allocations: 0.4993 MB / 488.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3211, allocations: 8 kB / 488.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.3211, allocations: 0 / 488.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007589/0.3218, allocations: 0.7199 MB / 489.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3232, allocations: 0.9294 MB / 490.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3232, allocations: 0 / 490.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3234, allocations: 51.97 kB / 490.3 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.3253, allocations: 316.5 kB / 490.6 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3253, allocations: 8 kB / 490.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005999/0.3259, allocations: 0.6538 MB / 491.2 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3259, allocations: 4.062 kB / 491.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.327, allocations: 0.7367 MB / 492 MB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.327, allocations: 31.78 kB / 492 MB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.3271, allocations: 4 kB / 492 MB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3273, allocations: 8 kB / 492 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3273, allocations: 24.02 kB / 492 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3273, allocations: 8 kB / 492 MB, free: 9.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.3276, allocations: 189.2 kB / 492.2 MB, free: 9.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3276, allocations: 0 / 492.2 MB, free: 9.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.3283, allocations: 187.7 kB / 492.4 MB, free: 9.141 MB / 398.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.0006462/0.3289, allocations: 278.7 kB / 492.7 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008966/0.3298, allocations: 443.2 kB / 493.1 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3298, allocations: 0 / 493.1 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.3304, allocations: 236.3 kB / 493.3 MB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.3313, allocations: 169 kB / 493.5 MB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3327, allocations: 0.8037 MB / 494.3 MB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3331, allocations: 0.7798 MB / 495.1 MB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.3333, allocations: 50.94 kB / 495.1 MB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.3333, allocations: 27.44 kB / 495.2 MB, free: 6.305 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3333, allocations: 0 / 495.2 MB, free: 6.305 MB / 398.1 MB Notification: Performance of Templates: time 0.01856/0.3519, allocations: 10.32 MB / 0.4936 GB, free: 12.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.791625919053331]