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.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.0008489/0.0008489, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008377/0.0008377, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.8966/0.8966, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.204e-05, allocations: 2.281 kB / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2622/0.2622, allocations: 149.3 MB / 449.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.265, allocations: 2.933 MB / 452 MB, free: 3.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2652, allocations: 7.938 kB / 452 MB, free: 3.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.2658, allocations: 174.9 kB / 452.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.2664, allocations: 425.2 kB / 452.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.2671, allocations: 359.8 kB / 453 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.2677, allocations: 0.8989 MB / 453.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2679, allocations: 72.83 kB / 453.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.2692, allocations: 0.942 MB / 454.9 MB, free: 188 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.2696, allocations: 251.2 kB / 455.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.2697, allocations: 28 kB / 455.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.2699, allocations: 119.8 kB / 455.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.2699, allocations: 110.1 kB / 455.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.27, allocations: 139.8 kB / 455.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.2705, allocations: 0.5376 MB / 456 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2705, allocations: 0 / 456 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2705, allocations: 0 / 456 MB, free: 15.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2705, allocations: 0 / 456 MB, free: 15.01 MB / 394.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.0005416/0.271, allocations: 0.5211 MB / 456.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2711, allocations: 15.98 kB / 456.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.2712, allocations: 43.8 kB / 456.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2716, allocations: 225.3 kB / 456.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2716, allocations: 20.5 kB / 456.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2716, allocations: 24 kB / 456.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.272, allocations: 0.5452 MB / 457.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.272, allocations: 0 / 457.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.272, allocations: 12 kB / 457.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.272, allocations: 11.94 kB / 457.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.2723, allocations: 201.8 kB / 457.6 MB, free: 13.27 MB / 394.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.001022/0.2733, allocations: 1.141 MB / 458.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.2735, allocations: 171.7 kB / 459 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.2736, allocations: 84.83 kB / 459 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2736, allocations: 4 kB / 459 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2736, allocations: 42.88 kB / 459.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.2736, allocations: 0 / 459.1 MB, free: 11.75 MB / 394.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.002883/0.2765, allocations: 1.33 MB / 460.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2765, allocations: 51.41 kB / 460.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2767, allocations: 236 kB / 460.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2767, allocations: 33.7 kB / 460.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.2768, allocations: 176.4 kB / 460.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.2769, allocations: 103.1 kB / 461 MB, free: 9.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.2769, allocations: 81.69 kB / 461.1 MB, free: 9.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.277, allocations: 330.8 kB / 461.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2771, allocations: 91.95 kB / 461.5 MB, free: 9.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2772, allocations: 187.8 kB / 461.7 MB, free: 9.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.2777, allocations: 299.8 kB / 462 MB, free: 8.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2777, allocations: 4 kB / 462 MB, free: 8.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003906/0.2781, allocations: 398.8 kB / 462.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2781, allocations: 8 kB / 462.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2781, allocations: 4.406 kB / 462.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.2783, allocations: 73.67 kB / 462.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2785, allocations: 91.83 kB / 462.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/0.2795, allocations: 1.821 MB / 464.4 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2796, allocations: 8 kB / 464.4 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2796, allocations: 41.11 kB / 464.4 MB, free: 6.098 MB / 394.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 0.0001182/0.2797, allocations: 157.7 kB / 464.6 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.2798, allocations: 23.86 kB / 464.6 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.2803, allocations: 439.1 kB / 465 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2803, allocations: 4 kB / 465 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2803, allocations: 4 kB / 465 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003268/0.2806, allocations: 0.5596 MB / 465.6 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.2812, allocations: 0.6334 MB / 466.2 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2812, allocations: 0 / 466.2 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2814, allocations: 67.89 kB / 466.3 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.564e-05/0.2814, allocations: 28.78 kB / 466.3 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2815, allocations: 19.92 kB / 466.3 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005454/0.282, allocations: 1.248 MB / 467.6 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.282, allocations: 7.875 kB / 467.6 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2824, allocations: 478.5 kB / 468 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.2824, allocations: 23.81 kB / 468.1 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2825, allocations: 8 kB / 468.1 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2826, allocations: 4 kB / 468.1 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2826, allocations: 32.11 kB / 468.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.2826, allocations: 39.92 kB / 468.2 MB, free: 2.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.2827, allocations: 169.2 kB / 468.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2827, allocations: 3.938 kB / 468.3 MB, free: 1.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.283, allocations: 119.9 kB / 468.4 MB, free: 1.773 MB / 394.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 (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.0002706/0.2833, allocations: 151 kB / 468.6 MB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2837, allocations: 362.4 kB / 468.9 MB, free: 1.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2837, allocations: 4 kB / 468.9 MB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.2841, allocations: 223.3 kB / 469.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.2846, allocations: 128.4 kB / 469.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.2854, allocations: 0.655 MB / 469.9 MB, free: 204 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.2855, allocations: 163 kB / 470.1 MB, free: 20 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2856, allocations: 76.47 kB / 470.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2856, allocations: 0 / 470.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of Templates: time 0.006296/0.2919, allocations: 7.38 MB / 477.6 MB, free: 8.559 MB / 410.7 MB " [Timeout remaining time 660] 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.176369342021644]