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.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.001541/0.001541, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.001617/0.001617, allocations: 189.4 kB / 22.92 MB, free: 5.582 MB / 14.72 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 1.454/1.454, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] 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.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: 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.001696/0.001696, allocations: 54.73 kB / 345.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.302, allocations: 49.12 MB / 394.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2235/0.5255, allocations: 173.5 MB / 0.5547 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.5302, allocations: 3.259 MB / 0.5579 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.5305, allocations: 4 kB / 0.5579 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.5312, allocations: 178.8 kB / 0.5581 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5323, allocations: 409.5 kB / 0.5585 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.5333, allocations: 355.2 kB / 0.5588 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.5345, allocations: 0.8992 MB / 0.5597 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.5346, allocations: 72.69 kB / 0.5598 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2998/0.8344, allocations: 0.7972 MB / 0.5605 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/0.8352, allocations: 290.2 kB / 0.5608 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.8353, allocations: 29.94 kB / 0.5608 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.8357, allocations: 127 kB / 0.561 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.8359, allocations: 92.89 kB / 0.5611 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.8362, allocations: 186 kB / 0.5612 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.8371, allocations: 0.5149 MB / 0.5617 GB, free: 2.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8371, allocations: 0 / 0.5617 GB, free: 2.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.8371, allocations: 2.766 kB / 0.5617 GB, free: 2.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.8371, allocations: 0 / 0.5617 GB, free: 2.52 MB / 478.1 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.001135/0.8382, allocations: 0.597 MB / 0.5623 GB, free: 18.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8383, allocations: 13.8 kB / 0.5623 GB, free: 18.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.8386, allocations: 43.12 kB / 0.5624 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.8391, allocations: 295.2 kB / 0.5627 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.8391, allocations: 18.38 kB / 0.5627 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.8392, allocations: 25.03 kB / 0.5627 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.8397, allocations: 320.9 kB / 0.563 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8397, allocations: 2.156 kB / 0.563 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.8398, allocations: 11.64 kB / 0.563 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.8398, allocations: 8.344 kB / 0.563 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.8402, allocations: 207.7 kB / 0.5632 GB, free: 17.74 MB / 494.1 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.002067/0.8422, allocations: 1.593 MB / 0.5648 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.8426, allocations: 160.3 kB / 0.5649 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.8427, allocations: 91.55 kB / 0.565 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.8427, allocations: 5.172 kB / 0.565 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.8428, allocations: 39.66 kB / 0.5651 GB, free: 16.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.8428, allocations: 1.219 kB / 0.5651 GB, free: 16.48 MB / 494.1 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.005767/0.8486, allocations: 1.619 MB / 0.5666 GB, free: 15.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.8486, allocations: 62.19 kB / 0.5667 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.8489, allocations: 257.1 kB / 0.567 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.8489, allocations: 33.98 kB / 0.567 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.849, allocations: 176.2 kB / 0.5672 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.8491, allocations: 105.2 kB / 0.5673 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8492, allocations: 81.12 kB / 0.5673 GB, free: 15.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8494, allocations: 336.6 kB / 0.5677 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.8496, allocations: 84.8 kB / 0.5677 GB, free: 15.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.8498, allocations: 197 kB / 0.5679 GB, free: 14.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.8502, allocations: 296.6 kB / 0.5682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8502, allocations: 2.344 kB / 0.5682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006459/0.8508, allocations: 405.9 kB / 0.5686 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8508, allocations: 11.48 kB / 0.5686 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8508, allocations: 8.188 kB / 0.5686 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.8511, allocations: 71.81 kB / 0.5687 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.8514, allocations: 89.33 kB / 0.5688 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.853, allocations: 1.961 MB / 0.5707 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.8533, allocations: 11.91 kB / 0.5707 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.8533, allocations: 38 kB / 0.5707 GB, free: 12.85 MB / 494.1 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 0.0002064/0.8535, allocations: 158.2 kB / 0.5709 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.8536, allocations: 30.81 kB / 0.5709 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.8545, allocations: 433.8 kB / 0.5713 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8545, allocations: 7.516 kB / 0.5713 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8545, allocations: 3.172 kB / 0.5713 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006166/0.8551, allocations: 0.5535 MB / 0.5719 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.8562, allocations: 0.7315 MB / 0.5726 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8562, allocations: 2.312 kB / 0.5726 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.8565, allocations: 70.52 kB / 0.5727 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.552e-05/0.8566, allocations: 26.28 kB / 0.5727 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.8566, allocations: 18.73 kB / 0.5727 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.8577, allocations: 1.376 MB / 0.574 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8577, allocations: 1.375 kB / 0.574 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.8584, allocations: 489.1 kB / 0.5745 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.8585, allocations: 97.59 kB / 0.5746 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.8585, allocations: 12.12 kB / 0.5746 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.8588, allocations: 8.094 kB / 0.5746 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.8588, allocations: 27.14 kB / 0.5746 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.8589, allocations: 31.05 kB / 0.5747 GB, free: 10.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.8591, allocations: 194.9 kB / 0.5749 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8591, allocations: 1.344 kB / 0.5749 GB, free: 10.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.8597, allocations: 120.8 kB / 0.575 GB, free: 10.12 MB / 494.1 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 (26): * Single equations (assignments): 25 * 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.0004055/0.8601, allocations: 150.2 kB / 0.5751 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.8608, allocations: 369.8 kB / 0.5755 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8608, allocations: 0 / 0.5755 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.8611, allocations: 225.6 kB / 0.5757 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.862, allocations: 166.7 kB / 0.5759 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.8632, allocations: 0.7057 MB / 0.5765 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.8637, allocations: 0.763 MB / 0.5773 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004339/0.8641, allocations: 123 kB / 0.5774 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.8643, allocations: 66.47 kB / 0.5775 GB, free: 8.766 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8643, allocations: 0 / 0.5775 GB, free: 8.766 MB / 494.1 MB Notification: Performance of Templates: time 0.01462/0.8789, allocations: 8.921 MB / 0.5862 GB, free: 8.27 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.578860708512366]