Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 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 1.392/1.392, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 50.58 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.275, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1861/0.461, allocations: 151.1 MB / 0.535 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.4624, allocations: 0.9851 MB / 0.536 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.4625, allocations: 3.938 kB / 0.536 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.4628, allocations: 23.83 kB / 0.536 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007807/0.4636, allocations: 250.6 kB / 0.5363 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.464, allocations: 111.7 kB / 0.5364 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.4643, allocations: 175.2 kB / 0.5365 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.4644, allocations: 7.797 kB / 0.5365 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.4646, allocations: 95.62 kB / 0.5366 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4647, allocations: 51.77 kB / 0.5367 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.4647, allocations: 4 kB / 0.5367 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.4653, allocations: 271.7 kB / 0.5369 GB, free: 9.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.4653, allocations: 19.92 kB / 0.537 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.4654, allocations: 47.84 kB / 0.537 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.4658, allocations: 277.1 kB / 0.5373 GB, free: 9.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4658, allocations: 0 / 0.5373 GB, free: 9.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4658, allocations: 4 kB / 0.5373 GB, free: 9.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4659, allocations: 4 kB / 0.5373 GB, free: 9.516 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005574/0.4664, allocations: 329.8 kB / 0.5376 GB, free: 9.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4664, allocations: 15.98 kB / 0.5376 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.4684, allocations: 184.6 kB / 0.5378 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.4687, allocations: 146.4 kB / 0.5379 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4687, allocations: 15.94 kB / 0.5379 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.4688, allocations: 11.95 kB / 0.538 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.4693, allocations: 224 kB / 0.5382 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4693, allocations: 3.938 kB / 0.5382 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.4694, allocations: 4 kB / 0.5382 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4694, allocations: 4 kB / 0.5382 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.4698, allocations: 167.9 kB / 0.5383 GB, free: 8.363 MB / 462.1 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.001162/0.471, allocations: 0.5552 MB / 0.5389 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.4714, allocations: 138.5 kB / 0.539 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4715, allocations: 72.81 kB / 0.5391 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4716, allocations: 4 kB / 0.5391 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4716, allocations: 30.56 kB / 0.5391 GB, free: 7.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.4716, allocations: 0 / 0.5391 GB, free: 7.496 MB / 462.1 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005287/0.4769, allocations: 1.16 MB / 0.5403 GB, free: 6.277 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4769, allocations: 55.34 kB / 0.5403 GB, free: 6.211 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.477, allocations: 109.8 kB / 0.5404 GB, free: 6.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4771, allocations: 29.7 kB / 0.5404 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.4771, allocations: 96.03 kB / 0.5405 GB, free: 5.961 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.4772, allocations: 71.38 kB / 0.5406 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4773, allocations: 57.69 kB / 0.5407 GB, free: 5.828 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4775, allocations: 318.8 kB / 0.541 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.4776, allocations: 71.97 kB / 0.541 GB, free: 5.438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.4778, allocations: 99.25 kB / 0.5411 GB, free: 5.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.4782, allocations: 191.2 kB / 0.5413 GB, free: 5.129 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4782, allocations: 0 / 0.5413 GB, free: 5.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005406/0.4788, allocations: 262.2 kB / 0.5416 GB, free: 4.863 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4788, allocations: 4 kB / 0.5416 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4788, allocations: 0 / 0.5416 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.479, allocations: 56.86 kB / 0.5416 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4793, allocations: 51.95 kB / 0.5417 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004794/0.4798, allocations: 0.5679 MB / 0.5422 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.48, allocations: 3.984 kB / 0.5422 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.48, allocations: 28 kB / 0.5422 GB, free: 4.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.4802, allocations: 121.9 kB / 0.5424 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.4802, allocations: 15.94 kB / 0.5424 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.481, allocations: 343.3 kB / 0.5427 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.481, allocations: 11.88 kB / 0.5427 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.481, allocations: 0 / 0.5427 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.481, allocations: 0 / 0.5427 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4821, allocations: 0.6065 MB / 0.5433 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4821, allocations: 0 / 0.5433 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.4824, allocations: 67.89 kB / 0.5434 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.4825, allocations: 16.84 kB / 0.5434 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.4825, allocations: 16.08 kB / 0.5434 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.4836, allocations: 1.271 MB / 0.5446 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4836, allocations: 4.031 kB / 0.5446 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.4843, allocations: 430.7 kB / 0.5451 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.4844, allocations: 15.94 kB / 0.5451 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.4844, allocations: 4 kB / 0.5451 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4846, allocations: 8 kB / 0.5451 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4847, allocations: 23.95 kB / 0.5451 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.4847, allocations: 27.98 kB / 0.5451 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.4848, allocations: 87.28 kB / 0.5452 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4848, allocations: 0 / 0.5452 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.4852, allocations: 79.88 kB / 0.5453 GB, free: 0.7773 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.0003565/0.4855, allocations: 155.1 kB / 0.5454 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.486, allocations: 195.8 kB / 0.5456 GB, free: 432 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.486, allocations: 4 kB / 0.5456 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.4864, allocations: 214.5 kB / 0.5458 GB, free: 200 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.4868, allocations: 44.33 kB / 0.5459 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.4878, allocations: 493.1 kB / 0.5463 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4881, allocations: 0.7086 MB / 0.547 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.4884, allocations: 77.59 kB / 0.5471 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4886, allocations: 59.34 kB / 0.5472 GB, free: 14.77 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4886, allocations: 0 / 0.5472 GB, free: 14.77 MB / 478.1 MB Notification: Performance of Templates: time 0.01046/0.499, allocations: 5.767 MB / 0.5528 GB, free: 8.988 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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: 4.89959311671555]