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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 191.9 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.001795/0.001795, allocations: 50.73 kB / 345.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2994, allocations: 49.13 MB / 394.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2195/0.5189, allocations: 151 MB / 0.5332 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.5207, allocations: 0.9696 MB / 0.5341 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.5207, allocations: 0 / 0.5341 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.5211, allocations: 31.77 kB / 0.5341 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008284/0.5219, allocations: 254.6 kB / 0.5344 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.5223, allocations: 115.6 kB / 0.5345 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.5226, allocations: 167.3 kB / 0.5347 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.5226, allocations: 4 kB / 0.5347 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.5229, allocations: 99.34 kB / 0.5348 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.523, allocations: 51.83 kB / 0.5348 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.523, allocations: 4 kB / 0.5348 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.5236, allocations: 267.7 kB / 0.5351 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.5236, allocations: 27.86 kB / 0.5351 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.5237, allocations: 43.84 kB / 0.5351 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.5242, allocations: 280.7 kB / 0.5354 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5242, allocations: 4 kB / 0.5354 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5242, allocations: 0 / 0.5354 GB, free: 10.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.5242, allocations: 3.984 kB / 0.5354 GB, free: 10.07 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.000616/0.5248, allocations: 407 kB / 0.5358 GB, free: 9.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5249, allocations: 8.031 kB / 0.5358 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5269, allocations: 188.6 kB / 0.536 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.5273, allocations: 208.2 kB / 0.5362 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5273, allocations: 11.94 kB / 0.5362 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.5274, allocations: 11.95 kB / 0.5362 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.5279, allocations: 220 kB / 0.5364 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.528, allocations: 4 kB / 0.5364 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.528, allocations: 4 kB / 0.5364 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.528, allocations: 11.98 kB / 0.5364 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.5285, allocations: 167.8 kB / 0.5366 GB, free: 8.75 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.001153/0.5296, allocations: 0.5833 MB / 0.5372 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.53, allocations: 138.5 kB / 0.5373 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.5301, allocations: 72.81 kB / 0.5374 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.5302, allocations: 4 kB / 0.5374 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5302, allocations: 30.56 kB / 0.5374 GB, free: 7.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.5302, allocations: 0 / 0.5374 GB, free: 7.848 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.00546/0.5357, allocations: 1.303 MB / 0.5387 GB, free: 6.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.5357, allocations: 55.41 kB / 0.5387 GB, free: 6.383 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.5359, allocations: 113.8 kB / 0.5388 GB, free: 6.262 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.5359, allocations: 25.7 kB / 0.5389 GB, free: 6.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.536, allocations: 100 kB / 0.539 GB, free: 6.129 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.536, allocations: 71.36 kB / 0.539 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5362, allocations: 61.62 kB / 0.5391 GB, free: 5.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5363, allocations: 314.8 kB / 0.5394 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5365, allocations: 71.89 kB / 0.5394 GB, free: 5.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.5367, allocations: 107.2 kB / 0.5396 GB, free: 5.488 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.5371, allocations: 191.2 kB / 0.5397 GB, free: 5.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5371, allocations: 0 / 0.5397 GB, free: 5.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005504/0.5376, allocations: 254.2 kB / 0.54 GB, free: 5.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5376, allocations: 8 kB / 0.54 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5376, allocations: 4.094 kB / 0.54 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.5378, allocations: 52.83 kB / 0.54 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.5382, allocations: 51.91 kB / 0.5401 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/0.5387, allocations: 0.5601 MB / 0.5406 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5389, allocations: 8.031 kB / 0.5406 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.5389, allocations: 36.08 kB / 0.5407 GB, free: 4.285 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.0001652/0.5391, allocations: 129.7 kB / 0.5408 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.5391, allocations: 7.953 kB / 0.5408 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008047/0.5399, allocations: 343 kB / 0.5411 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5399, allocations: 3.938 kB / 0.5411 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5399, allocations: 7.938 kB / 0.5411 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.54, allocations: 4 kB / 0.5412 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.5411, allocations: 0.627 MB / 0.5418 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5411, allocations: 0 / 0.5418 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.5414, allocations: 55.95 kB / 0.5418 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-05/0.5415, allocations: 32.88 kB / 0.5418 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5415, allocations: 11.98 kB / 0.5419 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.5427, allocations: 1.367 MB / 0.5432 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5427, allocations: 3.938 kB / 0.5432 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.5434, allocations: 426.8 kB / 0.5436 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.5435, allocations: 89.05 kB / 0.5437 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.5435, allocations: 8 kB / 0.5437 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.5437, allocations: 8 kB / 0.5437 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.5438, allocations: 23.91 kB / 0.5437 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.5438, allocations: 31.98 kB / 0.5438 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.5439, allocations: 91.56 kB / 0.5438 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5439, allocations: 4.062 kB / 0.5438 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.5443, allocations: 79.88 kB / 0.5439 GB, free: 0.6797 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.0003839/0.5447, allocations: 147.1 kB / 0.5441 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.5453, allocations: 196.3 kB / 0.5443 GB, free: 340 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5453, allocations: 0 / 0.5443 GB, free: 340 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.5456, allocations: 218.6 kB / 0.5445 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.5461, allocations: 56.12 kB / 0.5445 GB, free: 52 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.547, allocations: 0.5007 MB / 0.545 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.5474, allocations: 0.7124 MB / 0.5457 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5476, allocations: 55.41 kB / 0.5458 GB, free: 14.72 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5476, allocations: 0 / 0.5458 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Templates: time 0.007612/0.5552, allocations: 3.816 MB / 0.5495 GB, free: 10.89 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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