Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.00141/0.00141, 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.002198/0.002198, allocations: 191.7 kB / 22.93 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.459/1.459, 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.IdealGases.Nitrogen,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.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.IdealGases.Nitrogen") [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.0017/0.0017, allocations: 60.33 kB / 345.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2943, allocations: 49.12 MB / 394.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2147/0.509, allocations: 173.4 MB / 0.5547 GB, free: 5.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.5135, allocations: 3.248 MB / 0.5579 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.5137, allocations: 7.938 kB / 0.5579 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.5145, allocations: 178.9 kB / 0.558 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.5155, allocations: 405.5 kB / 0.5584 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5165, allocations: 355.2 kB / 0.5588 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.5177, allocations: 0.8992 MB / 0.5596 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.5179, allocations: 72.69 kB / 0.5597 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3241/0.842, allocations: 0.8006 MB / 0.5605 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.8427, allocations: 287.2 kB / 0.5608 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.8428, allocations: 30.62 kB / 0.5608 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.8433, allocations: 124.3 kB / 0.5609 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.8435, allocations: 98.17 kB / 0.561 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.8438, allocations: 186.6 kB / 0.5612 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.8448, allocations: 0.5163 MB / 0.5617 GB, free: 2.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8448, allocations: 0 / 0.5617 GB, free: 2.559 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8448, allocations: 0 / 0.5617 GB, free: 2.559 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.8448, allocations: 1.719 kB / 0.5617 GB, free: 2.559 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.001214/0.846, allocations: 0.5987 MB / 0.5623 GB, free: 18.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.846, allocations: 14.56 kB / 0.5623 GB, free: 18.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.8464, allocations: 43.42 kB / 0.5623 GB, free: 18.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.847, allocations: 293.8 kB / 0.5626 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.847, allocations: 21.84 kB / 0.5626 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.8471, allocations: 24.28 kB / 0.5627 GB, free: 17.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.8477, allocations: 317.6 kB / 0.563 GB, free: 17.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.8477, allocations: 4.188 kB / 0.563 GB, free: 17.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.8477, allocations: 13.16 kB / 0.563 GB, free: 17.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.8477, allocations: 6.281 kB / 0.563 GB, free: 17.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.8481, allocations: 204 kB / 0.5632 GB, free: 17.78 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.002149/0.8503, allocations: 1.595 MB / 0.5647 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.8506, allocations: 159.6 kB / 0.5649 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.8508, allocations: 90.45 kB / 0.565 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.8508, allocations: 6.984 kB / 0.565 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.8509, allocations: 41.48 kB / 0.565 GB, free: 16.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.8509, allocations: 1.203 kB / 0.565 GB, free: 16.52 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.006118/0.857, allocations: 1.614 MB / 0.5666 GB, free: 15.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.8571, allocations: 58.59 kB / 0.5667 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.8574, allocations: 257.7 kB / 0.5669 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.8574, allocations: 32.23 kB / 0.5669 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.8576, allocations: 173.3 kB / 0.5671 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.8577, allocations: 107 kB / 0.5672 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.8578, allocations: 78.8 kB / 0.5673 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.858, allocations: 339.6 kB / 0.5676 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.8582, allocations: 88.84 kB / 0.5677 GB, free: 15.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.8584, allocations: 192.8 kB / 0.5679 GB, free: 14.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.8588, allocations: 300.8 kB / 0.5682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8588, allocations: 1.844 kB / 0.5682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007188/0.8595, allocations: 405.6 kB / 0.5685 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.8595, allocations: 10.22 kB / 0.5686 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8596, allocations: 16.2 kB / 0.5686 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.8598, allocations: 72.42 kB / 0.5686 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.8602, allocations: 83.48 kB / 0.5687 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.862, allocations: 1.956 MB / 0.5706 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.8622, allocations: 12.34 kB / 0.5706 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.8623, allocations: 43.61 kB / 0.5707 GB, free: 12.89 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.0002015/0.8625, allocations: 153.9 kB / 0.5708 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.8626, allocations: 29.94 kB / 0.5709 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.8635, allocations: 442.1 kB / 0.5713 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8635, allocations: 3.156 kB / 0.5713 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8635, allocations: 2.219 kB / 0.5713 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006937/0.8642, allocations: 0.5608 MB / 0.5718 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.8656, allocations: 0.7312 MB / 0.5725 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8656, allocations: 1.281 kB / 0.5725 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.866, allocations: 71.81 kB / 0.5726 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.8661, allocations: 18 kB / 0.5726 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.8661, allocations: 18.52 kB / 0.5726 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.8673, allocations: 1.384 MB / 0.574 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8673, allocations: 2.125 kB / 0.574 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.8681, allocations: 488.5 kB / 0.5745 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.8682, allocations: 100 kB / 0.5746 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.8683, allocations: 6.656 kB / 0.5746 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.8685, allocations: 10.97 kB / 0.5746 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.8686, allocations: 28.44 kB / 0.5746 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.8687, allocations: 33.52 kB / 0.5746 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.8689, allocations: 186.8 kB / 0.5748 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8689, allocations: 1.719 kB / 0.5748 GB, free: 10.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007561/0.8697, allocations: 120.5 kB / 0.5749 GB, free: 10.16 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.0004409/0.8701, allocations: 156.2 kB / 0.5751 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.871, allocations: 361.7 kB / 0.5754 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.871, allocations: 1.781 kB / 0.5754 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.8713, allocations: 227.4 kB / 0.5756 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.8723, allocations: 166.5 kB / 0.5758 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.8738, allocations: 0.7001 MB / 0.5765 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.8745, allocations: 0.77 MB / 0.5772 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.875, allocations: 116 kB / 0.5774 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.8752, allocations: 64.09 kB / 0.5774 GB, free: 8.809 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8752, allocations: 1.531 kB / 0.5774 GB, free: 8.809 MB / 494.1 MB Notification: Performance of Templates: time 0.01715/0.8924, allocations: 8.921 MB / 0.5861 GB, free: 8.305 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.566646004095674]