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.001921/0.001921, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 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.002196/0.002196, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.549/1.549, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2584/0.2584, allocations: 46.95 MB / 361.6 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002425/0.002425, allocations: 75.88 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3587, allocations: 66.09 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2129/0.5717, allocations: 153.8 MB / 0.7121 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.5804, allocations: 4.925 MB / 0.7169 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008134/0.5812, allocations: 31.69 kB / 0.717 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.5825, allocations: 302 kB / 0.7173 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.5871, allocations: 1.364 MB / 0.7186 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.5905, allocations: 1.059 MB / 0.7196 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002889/0.5934, allocations: 1.883 MB / 0.7215 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/0.5943, allocations: 393.6 kB / 0.7218 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.5972, allocations: 1.113 MB / 0.7229 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.5987, allocations: 0.7705 MB / 0.7237 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.5989, allocations: 60 kB / 0.7237 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.6003, allocations: 0.5462 MB / 0.7243 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.6006, allocations: 279.1 kB / 0.7245 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.6011, allocations: 326.6 kB / 0.7248 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6031, allocations: 1.316 MB / 0.7261 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.6031, allocations: 0 / 0.7261 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6031, allocations: 0 / 0.7261 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6031, allocations: 0 / 0.7261 GB, free: 11.2 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.002242/0.6054, allocations: 1.038 MB / 0.7271 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6054, allocations: 8.031 kB / 0.7272 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.6063, allocations: 151.4 kB / 0.7273 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.6072, allocations: 477.3 kB / 0.7278 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.6074, allocations: 155.8 kB / 0.7279 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.6075, allocations: 48 kB / 0.7279 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.609, allocations: 1.144 MB / 0.7291 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.609, allocations: 3.938 kB / 0.7291 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.6091, allocations: 23.98 kB / 0.7291 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.6092, allocations: 40.92 kB / 0.7291 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6103, allocations: 0.6127 MB / 0.7297 GB, free: 7.273 MB / 0.5606 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.004604/0.6149, allocations: 3.223 MB / 0.7329 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.6155, allocations: 335.6 kB / 0.7332 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.6158, allocations: 161.3 kB / 0.7334 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.6159, allocations: 16.27 kB / 0.7334 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.6159, allocations: 38.84 kB / 0.7334 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.6159, allocations: 0 / 0.7334 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005711/0.6216, allocations: 1.609 MB / 0.735 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6218, allocations: 140.5 kB / 0.7351 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.6225, allocations: 0.5338 MB / 0.7356 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.6225, allocations: 29.7 kB / 0.7357 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.6228, allocations: 388.2 kB / 0.736 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.623, allocations: 150.7 kB / 0.7362 GB, free: 440 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.6232, allocations: 166.6 kB / 0.7363 GB, free: 268 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2497/0.8729, allocations: 362.8 kB / 0.7367 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.8735, allocations: 202.8 kB / 0.7369 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.8742, allocations: 0.5849 MB / 0.7374 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8752, allocations: 0.7571 MB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.8752, allocations: 2.625 kB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001687/0.8769, allocations: 0.8671 MB / 0.739 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.877, allocations: 9.844 kB / 0.739 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.877, allocations: 11.16 kB / 0.7391 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.8783, allocations: 307.5 kB / 0.7393 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.8787, allocations: 124.5 kB / 0.7395 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/0.8796, allocations: 0.9359 MB / 0.7404 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.88, allocations: 27.53 kB / 0.7404 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.8801, allocations: 67.02 kB / 0.7405 GB, free: 173.3 MB / 0.5606 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.0002857/0.8804, allocations: 243.8 kB / 0.7407 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.8805, allocations: 61.86 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.8818, allocations: 0.8613 MB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8818, allocations: 2.312 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8818, allocations: 0.7812 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8818, allocations: 2.391 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.8833, allocations: 1.091 MB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8833, allocations: 4 kB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009271/0.8842, allocations: 207.8 kB / 0.7429 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-05/0.8843, allocations: 24.28 kB / 0.7429 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.8843, allocations: 21.67 kB / 0.7429 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.8856, allocations: 2.63 MB / 0.7455 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8856, allocations: 4.031 kB / 0.7455 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.8865, allocations: 0.8204 MB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.8867, allocations: 104 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.8868, allocations: 15.94 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.8871, allocations: 15.66 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.8872, allocations: 43.08 kB / 0.7465 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.8872, allocations: 43.89 kB / 0.7465 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000308/0.8876, allocations: 364.3 kB / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8876, allocations: 0 / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007508/0.8883, allocations: 251.2 kB / 0.7471 GB, free: 167.8 MB / 0.5606 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.000505/0.8888, allocations: 276.1 kB / 0.7474 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.8897, allocations: 0.5291 MB / 0.7479 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8897, allocations: 0 / 0.7479 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.8905, allocations: 401.5 kB / 0.7483 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.8918, allocations: 310.4 kB / 0.7485 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.8934, allocations: 1.378 MB / 0.7499 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.8936, allocations: 336.3 kB / 0.7502 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.8939, allocations: 119.4 kB / 0.7503 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.8939, allocations: 0 / 0.7503 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01432/0.9082, allocations: 16.09 MB / 0.766 GB, free: 148.5 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 11.234386142343283]