Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001809/0.001809, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 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.002342/0.002342, allocations: 201.8 kB / 25.13 MB, free: 3.578 MB / 14.72 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.431/1.431, allocations: 230.4 MB / 258.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2552/0.2552, allocations: 46.94 MB / 362 MB, free: 4.344 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003471/0.003471, allocations: 83.86 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3388, allocations: 66.08 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2184/0.5573, allocations: 175.6 MB / 0.7338 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3131/0.8703, allocations: 5.319 MB / 0.739 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.871, allocations: 28.62 kB / 0.7391 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009473/0.872, allocations: 323 kB / 0.7394 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.8754, allocations: 1.38 MB / 0.7407 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.8782, allocations: 1.091 MB / 0.7418 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.8806, allocations: 1.882 MB / 0.7436 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.8812, allocations: 398.3 kB / 0.744 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.8832, allocations: 1.116 MB / 0.7451 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.8844, allocations: 0.8008 MB / 0.7459 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.8845, allocations: 62.66 kB / 0.7459 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.8857, allocations: 0.5723 MB / 0.7465 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.886, allocations: 267.4 kB / 0.7468 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.8864, allocations: 396.8 kB / 0.7471 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.8879, allocations: 1.3 MB / 0.7484 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8879, allocations: 1.188 kB / 0.7484 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8879, allocations: 1.203 kB / 0.7484 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.8879, allocations: 3.094 kB / 0.7484 GB, free: 1.664 MB / 0.5606 GB 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.002143/0.8901, allocations: 1.045 MB / 0.7494 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8901, allocations: 11.66 kB / 0.7494 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.8909, allocations: 139.9 kB / 0.7496 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.8917, allocations: 479.8 kB / 0.75 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.8919, allocations: 150.8 kB / 0.7502 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.892, allocations: 51.38 kB / 0.7502 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.8932, allocations: 1.15 MB / 0.7513 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.8932, allocations: 3.188 kB / 0.7513 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.8933, allocations: 26 kB / 0.7514 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.8933, allocations: 37.86 kB / 0.7514 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008858/0.8942, allocations: 0.6253 MB / 0.752 GB, free: 16.14 MB / 0.5762 GB 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.004248/0.8985, allocations: 3.88 MB / 0.7558 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.899, allocations: 338.3 kB / 0.7561 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.8992, allocations: 162.5 kB / 0.7563 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.8993, allocations: 16.7 kB / 0.7563 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.8994, allocations: 38.94 kB / 0.7563 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.093e-06/0.8994, allocations: 0 / 0.7563 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005146/0.9045, allocations: 1.611 MB / 0.7579 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.9046, allocations: 134.8 kB / 0.758 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.9052, allocations: 0.6077 MB / 0.7586 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.9053, allocations: 37.58 kB / 0.7587 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.9055, allocations: 378.2 kB / 0.759 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.9055, allocations: 152.1 kB / 0.7592 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.9057, allocations: 154.7 kB / 0.7593 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9059, allocations: 378.5 kB / 0.7597 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.9062, allocations: 207.6 kB / 0.7599 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.9068, allocations: 0.5877 MB / 0.7605 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.9077, allocations: 0.7445 MB / 0.7612 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9077, allocations: 3.281 kB / 0.7612 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001306/0.909, allocations: 0.8854 MB / 0.762 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.909, allocations: 7.781 kB / 0.7621 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.909, allocations: 8.812 kB / 0.7621 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.9104, allocations: 311.6 kB / 0.7624 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.9108, allocations: 124.1 kB / 0.7625 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.9119, allocations: 0.9429 MB / 0.7634 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.9124, allocations: 33.61 kB / 0.7634 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.9125, allocations: 67.47 kB / 0.7635 GB, free: 10.65 MB / 0.5762 GB 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.0003679/0.9129, allocations: 244.4 kB / 0.7637 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.913, allocations: 72.02 kB / 0.7638 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.9145, allocations: 0.8577 MB / 0.7646 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.9145, allocations: 10 kB / 0.7646 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9145, allocations: 0 / 0.7646 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9145, allocations: 0.9062 kB / 0.7646 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.9163, allocations: 1.213 MB / 0.7658 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.9163, allocations: 7.25 kB / 0.7658 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/0.9173, allocations: 212.2 kB / 0.766 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.192e-05/0.9174, allocations: 26.81 kB / 0.7661 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.9175, allocations: 21.25 kB / 0.7661 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.9197, allocations: 2.665 MB / 0.7687 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9197, allocations: 0 / 0.7687 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.9209, allocations: 0.817 MB / 0.7695 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.9212, allocations: 116 kB / 0.7696 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.9212, allocations: 16.75 kB / 0.7696 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.9216, allocations: 22.38 kB / 0.7696 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.9217, allocations: 43.09 kB / 0.7697 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.9218, allocations: 44.66 kB / 0.7697 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005075/0.9223, allocations: 441.8 kB / 0.7701 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9223, allocations: 0 / 0.7701 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009641/0.9232, allocations: 251.7 kB / 0.7704 GB, free: 7.176 MB / 0.5762 GB 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 (39): * Single equations (assignments): 37 * 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.0006341/0.9239, allocations: 284.3 kB / 0.7707 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.9249, allocations: 0.53 MB / 0.7712 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.925, allocations: 3.625 kB / 0.7712 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009445/0.9259, allocations: 408.7 kB / 0.7716 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.9274, allocations: 374.4 kB / 0.7719 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.9294, allocations: 1.35 MB / 0.7732 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.93, allocations: 0.9281 MB / 0.7741 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009397/0.9309, allocations: 461.3 kB / 0.7746 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9312, allocations: 113.1 kB / 0.7747 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of SimCode: time 5.92e-07/0.9312, allocations: 1.203 kB / 0.7747 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of Templates: time 0.02801/0.9593, allocations: 18.12 MB / 0.7924 GB, free: 1.34 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.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: 6.142068177927285]