Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.0009355/0.0009355, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001006/0.001006, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9893/0.9893, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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.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.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 251.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.236e-05, allocations: 2.312 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2693/0.2694, allocations: 142.4 MB / 394 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.2702, allocations: 0.6834 MB / 394.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2704, allocations: 7 kB / 394.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.2707, allocations: 93.64 kB / 394.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.2712, allocations: 387.8 kB / 395.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.2717, allocations: 369 kB / 395.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.2723, allocations: 0.9234 MB / 396.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2724, allocations: 70.3 kB / 396.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.2736, allocations: 0.9047 MB / 397.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.2738, allocations: 251.5 kB / 397.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.2739, allocations: 37.78 kB / 397.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.274, allocations: 120.1 kB / 397.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.2741, allocations: 105.4 kB / 397.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.2742, allocations: 140.3 kB / 398 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.2745, allocations: 376 kB / 398.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2745, allocations: 0 / 398.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2745, allocations: 3.938 kB / 398.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2745, allocations: 0 / 398.4 MB, free: 10.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004801/0.275, allocations: 0.6244 MB / 399 MB, free: 9.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.275, allocations: 15.11 kB / 399 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2752, allocations: 90.34 kB / 399.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2754, allocations: 232 kB / 399.3 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2754, allocations: 18.56 kB / 399.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.2754, allocations: 26 kB / 399.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2757, allocations: 494 kB / 399.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2757, allocations: 2.688 kB / 399.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2757, allocations: 14.03 kB / 399.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2757, allocations: 9.547 kB / 399.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.2758, allocations: 114.8 kB / 400 MB, free: 9.098 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.2766, allocations: 1.41 MB / 401.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2767, allocations: 133 kB / 401.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.2768, allocations: 60.03 kB / 401.6 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2768, allocations: 9.156 kB / 401.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2768, allocations: 39.33 kB / 401.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.2768, allocations: 0 / 401.7 MB, free: 7.816 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002116/0.2789, allocations: 0.9576 MB / 402.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.2789, allocations: 53.66 kB / 402.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.279, allocations: 275.5 kB / 402.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.279, allocations: 32.27 kB / 403 MB, free: 7.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.2791, allocations: 223.8 kB / 403.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.2791, allocations: 102.3 kB / 403.3 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.2792, allocations: 83.12 kB / 403.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.2793, allocations: 0.5063 MB / 403.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.2793, allocations: 41.28 kB / 403.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.2794, allocations: 191.7 kB / 404.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2796, allocations: 251.8 kB / 404.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2796, allocations: 0 / 404.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003208/0.2799, allocations: 319.2 kB / 404.7 MB, free: 5.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2799, allocations: 5.812 kB / 404.7 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2799, allocations: 6.594 kB / 404.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.2801, allocations: 82.42 kB / 404.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2802, allocations: 83.14 kB / 404.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005919/0.2808, allocations: 2.528 MB / 407.4 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.2809, allocations: 16.55 kB / 407.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2809, allocations: 28.78 kB / 407.4 MB, free: 3.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/0.281, allocations: 183.5 kB / 407.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2811, allocations: 34.55 kB / 407.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.2814, allocations: 333.9 kB / 407.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2814, allocations: 7.453 kB / 408 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2814, allocations: 0 / 408 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001768/0.2816, allocations: 497.8 kB / 408.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.282, allocations: 0.5529 MB / 409 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.282, allocations: 3.938 kB / 409 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2821, allocations: 61.92 kB / 409.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.166e-05/0.2822, allocations: 21.19 kB / 409.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2822, allocations: 15.34 kB / 409.1 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.2826, allocations: 1.708 MB / 410.8 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2826, allocations: 3.938 kB / 410.8 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.2829, allocations: 408 kB / 411.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.2829, allocations: 24.19 kB / 411.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2829, allocations: 6.688 kB / 411.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.283, allocations: 8.656 kB / 411.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.283, allocations: 27.44 kB / 411.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2831, allocations: 23.39 kB / 411.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.2831, allocations: 191 kB / 411.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2831, allocations: 0 / 411.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.2834, allocations: 122.6 kB / 411.6 MB, free: 15.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/0.2837, allocations: 150 kB / 411.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.284, allocations: 345.9 kB / 412.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.284, allocations: 3.938 kB / 412.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.2842, allocations: 261.4 kB / 412.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.2847, allocations: 152.2 kB / 412.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.2856, allocations: 0.5954 MB / 413.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.2856, allocations: 92.77 kB / 413.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000204/0.2858, allocations: 98.17 kB / 413.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.2861, allocations: 218.7 kB / 413.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2861, allocations: 0 / 413.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Templates: time 0.008945/0.2951, allocations: 8.611 MB / 422.1 MB, free: 10.01 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1879032091237605]