Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001459/0.001459, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001679/0.001679, allocations: 174.3 kB / 24.91 MB, free: 9.156 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2612/0.2612, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.301e-05, allocations: 4.844 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3242/0.3242, allocations: 148.1 MB / 471.4 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.3277, allocations: 2.653 MB / 474.1 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.3281, allocations: 27.47 kB / 474.1 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.3286, allocations: 208.8 kB / 474.3 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.3306, allocations: 1.166 MB / 475.5 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.332, allocations: 0.8064 MB / 476.3 MB, free: 16.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3337, allocations: 1.925 MB / 478.2 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.3343, allocations: 422.7 kB / 478.6 MB, free: 16.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.336, allocations: 1.236 MB / 479.9 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.3367, allocations: 0.5611 MB / 480.4 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3368, allocations: 57.47 kB / 480.5 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.3376, allocations: 489.7 kB / 481 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.3378, allocations: 279 kB / 481.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3381, allocations: 280.3 kB / 481.5 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.3392, allocations: 0.9972 MB / 482.5 MB, free: 16.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3392, allocations: 0 / 482.5 MB, free: 16.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3392, allocations: 0 / 482.5 MB, free: 16.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.3392, allocations: 0 / 482.5 MB, free: 16.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001309/0.3405, allocations: 0.9743 MB / 483.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3406, allocations: 9.281 kB / 483.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006073/0.3412, allocations: 207.2 kB / 483.7 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.3417, allocations: 418.8 kB / 484.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.3417, allocations: 157.4 kB / 484.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.3418, allocations: 61.78 kB / 484.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.3424, allocations: 0.8845 MB / 485.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3424, allocations: 5.656 kB / 485.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.3424, allocations: 23.17 kB / 485.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.3425, allocations: 40.25 kB / 485.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.3428, allocations: 234.1 kB / 485.5 MB, free: 14.53 MB / 410.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.00186/0.3446, allocations: 2.646 MB / 488.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.3449, allocations: 174.8 kB / 488.3 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.345, allocations: 69.61 kB / 488.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.3451, allocations: 37.39 kB / 488.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3451, allocations: 43.5 kB / 488.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.3451, allocations: 0 / 488.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002295/0.3474, allocations: 0.9298 MB / 489.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3474, allocations: 137 kB / 489.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3477, allocations: 480.8 kB / 490 MB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3477, allocations: 35.52 kB / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3478, allocations: 343.5 kB / 490.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.3479, allocations: 147.7 kB / 490.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.348, allocations: 149.7 kB / 490.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.3481, allocations: 379.7 kB / 491 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.3482, allocations: 61.86 kB / 491.1 MB, free: 11.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3484, allocations: 497.3 kB / 491.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.3488, allocations: 0.5307 MB / 492.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3488, allocations: 5.219 kB / 492.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005407/0.3493, allocations: 498.7 kB / 492.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3493, allocations: 7.656 kB / 492.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3493, allocations: 11.53 kB / 492.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.35, allocations: 223.1 kB / 492.8 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3502, allocations: 131 kB / 493 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003959/0.3506, allocations: 0.6815 MB / 493.6 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3509, allocations: 30.12 kB / 493.7 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.3509, allocations: 53.97 kB / 493.7 MB, free: 9.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.3511, allocations: 165 kB / 493.9 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.3512, allocations: 50.52 kB / 493.9 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.3518, allocations: 0.5809 MB / 494.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3518, allocations: 2.656 kB / 494.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3519, allocations: 0 / 494.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3519, allocations: 8.953 kB / 494.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/0.3528, allocations: 0.7234 MB / 495.2 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3528, allocations: 3.25 kB / 495.2 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.3533, allocations: 195.3 kB / 495.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.622e-05/0.3534, allocations: 28.09 kB / 495.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.3534, allocations: 15.89 kB / 495.5 MB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008925/0.3543, allocations: 2.398 MB / 497.9 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3543, allocations: 0 / 497.9 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.3548, allocations: 476.1 kB / 498.3 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.3549, allocations: 72 kB / 498.4 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.355, allocations: 14.78 kB / 498.4 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3551, allocations: 12 kB / 498.4 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.3552, allocations: 40.91 kB / 498.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.3552, allocations: 28.17 kB / 498.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.3554, allocations: 202.5 kB / 498.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3554, allocations: 0 / 498.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.3561, allocations: 251.4 kB / 498.9 MB, free: 6.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0004261/0.3565, allocations: 244.1 kB / 499.2 MB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.357, allocations: 321.5 kB / 499.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.357, allocations: 8.281 kB / 499.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.3574, allocations: 294.8 kB / 499.8 MB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.3581, allocations: 318.7 kB / 0.4884 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3596, allocations: 1.141 MB / 0.4895 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.937e-05/0.3597, allocations: 165.3 kB / 0.4897 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005306/0.3602, allocations: 371.7 kB / 0.49 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.3607, allocations: 322.2 kB / 0.4903 GB, free: 5.312 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3607, allocations: 0 / 0.4903 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Templates: time 0.01901/0.3797, allocations: 16.61 MB / 0.5065 GB, free: 10.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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.8424714440479875]