Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3161/0.3161, allocations: 34.86 MB / 296.6 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.228e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3293/0.3293, allocations: 170.8 MB / 0.5367 GB, free: 96 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.3351, allocations: 5.408 MB / 0.542 GB, free: 12.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.3355, allocations: 27.28 kB / 0.542 GB, free: 12.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.3363, allocations: 317.3 kB / 0.5423 GB, free: 12.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.3389, allocations: 1.39 MB / 0.5437 GB, free: 11.51 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.3407, allocations: 1.081 MB / 0.5447 GB, free: 10.97 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3424, allocations: 1.886 MB / 0.5466 GB, free: 10.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.343, allocations: 410 kB / 0.547 GB, free: 9.855 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.3448, allocations: 1.36 MB / 0.5483 GB, free: 9.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3458, allocations: 0.7271 MB / 0.549 GB, free: 8.629 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3459, allocations: 60.12 kB / 0.5491 GB, free: 8.629 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/0.3469, allocations: 0.5645 MB / 0.5496 GB, free: 8.375 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.3471, allocations: 284.8 kB / 0.5499 GB, free: 8.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.3473, allocations: 291.2 kB / 0.5502 GB, free: 8.043 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3485, allocations: 1.089 MB / 0.5512 GB, free: 7.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3485, allocations: 0 / 0.5512 GB, free: 7.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3485, allocations: 3.938 kB / 0.5512 GB, free: 7.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3485, allocations: 0 / 0.5512 GB, free: 7.398 MB / 426.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.001422/0.3499, allocations: 1.142 MB / 0.5524 GB, free: 6.516 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3499, allocations: 8.781 kB / 0.5524 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.3506, allocations: 227.1 kB / 0.5526 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.3511, allocations: 492.1 kB / 0.5531 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3512, allocations: 160.3 kB / 0.5532 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.3513, allocations: 57.55 kB / 0.5533 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.3523, allocations: 1.006 MB / 0.5542 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3523, allocations: 3.938 kB / 0.5542 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.3523, allocations: 24.08 kB / 0.5543 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/0.3524, allocations: 37.77 kB / 0.5543 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.3528, allocations: 312.9 kB / 0.5546 GB, free: 4.75 MB / 426.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.002773/0.3556, allocations: 3.879 MB / 0.5584 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3559, allocations: 216.1 kB / 0.5586 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3561, allocations: 88.2 kB / 0.5587 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.3562, allocations: 16.28 kB / 0.5587 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3562, allocations: 45.67 kB / 0.5587 GB, free: 424 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.3562, allocations: 0 / 0.5587 GB, free: 424 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002896/0.3591, allocations: 1.152 MB / 0.5599 GB, free: 15.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.3591, allocations: 132.5 kB / 0.56 GB, free: 15.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.3596, allocations: 0.5491 MB / 0.5605 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.3596, allocations: 33.7 kB / 0.5606 GB, free: 14.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.3598, allocations: 435 kB / 0.561 GB, free: 14.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.3599, allocations: 150.7 kB / 0.5611 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.3602, allocations: 156.2 kB / 0.5613 GB, free: 13.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3603, allocations: 0.5469 MB / 0.5618 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3605, allocations: 97.88 kB / 0.5619 GB, free: 13.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.3609, allocations: 0.619 MB / 0.5625 GB, free: 12.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.3614, allocations: 0.6645 MB / 0.5631 GB, free: 11.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3614, allocations: 0 / 0.5631 GB, free: 11.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007829/0.3622, allocations: 0.6527 MB / 0.5638 GB, free: 10.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3622, allocations: 12 kB / 0.5638 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3622, allocations: 11.94 kB / 0.5638 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.3629, allocations: 253.9 kB / 0.5641 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3632, allocations: 119.8 kB / 0.5642 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006425/0.3638, allocations: 1.008 MB / 0.5651 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.364, allocations: 27.98 kB / 0.5652 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.3641, allocations: 56 kB / 0.5652 GB, free: 9.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0001736/0.3643, allocations: 208.3 kB / 0.5654 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.3644, allocations: 83.61 kB / 0.5655 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.3652, allocations: 0.6761 MB / 0.5662 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3652, allocations: 4 kB / 0.5662 GB, free: 8.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3652, allocations: 3.938 kB / 0.5662 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3652, allocations: 7.984 kB / 0.5662 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3663, allocations: 0.9332 MB / 0.5671 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3663, allocations: 4 kB / 0.5671 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.3669, allocations: 196 kB / 0.5673 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-05/0.3669, allocations: 23.67 kB / 0.5673 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.367, allocations: 20 kB / 0.5673 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.3686, allocations: 3.566 MB / 0.5708 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3686, allocations: 0 / 0.5708 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.3692, allocations: 0.6036 MB / 0.5714 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3694, allocations: 95.58 kB / 0.5715 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.3694, allocations: 8 kB / 0.5715 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3696, allocations: 24.08 kB / 0.5715 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.3697, allocations: 43.94 kB / 0.5716 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.3697, allocations: 35.92 kB / 0.5716 GB, free: 2.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.37, allocations: 338.8 kB / 0.5719 GB, free: 1.949 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.37, allocations: 3.938 kB / 0.5719 GB, free: 1.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.3706, allocations: 251.8 kB / 0.5722 GB, free: 1.699 MB / 442.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.0005002/0.3711, allocations: 296.2 kB / 0.5724 GB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000622/0.3717, allocations: 374.6 kB / 0.5728 GB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3717, allocations: 0 / 0.5728 GB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.3723, allocations: 398.2 kB / 0.5732 GB, free: 0.625 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.3731, allocations: 324.1 kB / 0.5735 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3749, allocations: 1.149 MB / 0.5746 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.375, allocations: 170.4 kB / 0.5748 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008454/0.3759, allocations: 410.4 kB / 0.5752 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.3761, allocations: 100.5 kB / 0.5753 GB, free: 14.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3761, allocations: 0 / 0.5753 GB, free: 14.43 MB / 458.7 MB Notification: Performance of Templates: time 0.01891/0.395, allocations: 15.46 MB / 0.5904 GB, free: 15.22 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.949094223091379]