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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 81.2 kB / 21.99 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 157.8 kB / 25.24 MB, free: 2.742 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.306/1.306, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 58.58 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2147, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3659/0.5806, allocations: 129.5 MB / 478 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.5819, allocations: 0.8818 MB / 478.9 MB, free: 1.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.5819, allocations: 0.5 kB / 478.9 MB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.5822, allocations: 34.02 kB / 478.9 MB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006445/0.5828, allocations: 244.3 kB / 479.1 MB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.5831, allocations: 117.7 kB / 479.3 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.5834, allocations: 174.7 kB / 479.4 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.5834, allocations: 9.812 kB / 479.4 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.5836, allocations: 87.56 kB / 479.5 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.5837, allocations: 50.98 kB / 479.6 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.5837, allocations: 5.281 kB / 479.6 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.5843, allocations: 256 kB / 479.8 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.5844, allocations: 19.78 kB / 479.9 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.5845, allocations: 43.58 kB / 479.9 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.585, allocations: 276.5 kB / 480.2 MB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.585, allocations: 1.203 kB / 480.2 MB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.585, allocations: 0.9375 kB / 480.2 MB, free: 1.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.585, allocations: 1.531 kB / 480.2 MB, free: 1.434 MB / 430.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.0006355/0.5856, allocations: 338.5 kB / 480.5 MB, free: 17.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5856, allocations: 13.8 kB / 480.5 MB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.5878, allocations: 200.8 kB / 480.7 MB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5882, allocations: 156.5 kB / 480.9 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5882, allocations: 9.875 kB / 480.9 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.5882, allocations: 10.41 kB / 480.9 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.5887, allocations: 304.8 kB / 481.2 MB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5887, allocations: 0 / 481.2 MB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.5888, allocations: 7.281 kB / 481.2 MB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5888, allocations: 3.938 kB / 481.2 MB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.5892, allocations: 170 kB / 481.4 MB, free: 16.85 MB / 446.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.001019/0.5902, allocations: 0.5039 MB / 481.9 MB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.5905, allocations: 131.2 kB / 482 MB, free: 16.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.5906, allocations: 68.5 kB / 482.1 MB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5907, allocations: 8.609 kB / 482.1 MB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5907, allocations: 36.41 kB / 482.1 MB, free: 16.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.5907, allocations: 0.9688 kB / 482.1 MB, free: 16.39 MB / 446.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.00527/0.596, allocations: 1.153 MB / 483.3 MB, free: 16.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.596, allocations: 54.91 kB / 483.3 MB, free: 16.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.5961, allocations: 107 kB / 483.4 MB, free: 15.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.5961, allocations: 31.27 kB / 483.4 MB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.5962, allocations: 97.84 kB / 483.5 MB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.5962, allocations: 74 kB / 483.6 MB, free: 15.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.5963, allocations: 52.59 kB / 483.7 MB, free: 15.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5964, allocations: 324.3 kB / 484 MB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.5966, allocations: 65.17 kB / 484 MB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.5967, allocations: 105.7 kB / 484.1 MB, free: 15.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.597, allocations: 195 kB / 484.3 MB, free: 15.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.597, allocations: 1.094 kB / 484.3 MB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000436/0.5974, allocations: 256.2 kB / 484.6 MB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5975, allocations: 7.5 kB / 484.6 MB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5975, allocations: 0 / 484.6 MB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.5976, allocations: 55.47 kB / 484.6 MB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.598, allocations: 55.58 kB / 484.7 MB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/0.5984, allocations: 0.5571 MB / 485.3 MB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5986, allocations: 13.06 kB / 485.3 MB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.5986, allocations: 23.41 kB / 485.3 MB, free: 14.77 MB / 446.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.0001281/0.5987, allocations: 128.1 kB / 485.4 MB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.5988, allocations: 14.19 kB / 485.4 MB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.5995, allocations: 346 kB / 485.8 MB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5995, allocations: 3.75 kB / 485.8 MB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5995, allocations: 3.938 kB / 485.8 MB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5995, allocations: 3.609 kB / 485.8 MB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.6004, allocations: 0.5475 MB / 486.3 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6004, allocations: 0 / 486.3 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.6007, allocations: 60.41 kB / 486.4 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-05/0.6008, allocations: 24.2 kB / 486.4 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.6008, allocations: 14.61 kB / 486.4 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009425/0.6017, allocations: 1.236 MB / 487.7 MB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6017, allocations: 3.094 kB / 487.7 MB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.6023, allocations: 439.1 kB / 488.1 MB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.6024, allocations: 13.84 kB / 488.1 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.6024, allocations: 8.594 kB / 488.1 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.6026, allocations: 12.25 kB / 488.1 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.6027, allocations: 26.64 kB / 488.2 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.6027, allocations: 24.47 kB / 488.2 MB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.6028, allocations: 89.38 kB / 488.3 MB, free: 12.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6028, allocations: 0.9062 kB / 488.3 MB, free: 12.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.6032, allocations: 82.72 kB / 488.3 MB, free: 12.86 MB / 446.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.0003389/0.6035, allocations: 152.2 kB / 488.5 MB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.604, allocations: 197.4 kB / 488.7 MB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.604, allocations: 0 / 488.7 MB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.6043, allocations: 223.4 kB / 488.9 MB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.6048, allocations: 47.72 kB / 489 MB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.6055, allocations: 495 kB / 489.4 MB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.165e-05/0.6056, allocations: 91.44 kB / 489.5 MB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.6059, allocations: 79.73 kB / 489.6 MB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.6061, allocations: 53.44 kB / 489.7 MB, free: 12.31 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6061, allocations: 0 / 489.7 MB, free: 12.31 MB / 446.1 MB Notification: Performance of Templates: time 0.008972/0.615, allocations: 5.547 MB / 495.2 MB, free: 11.87 MB / 446.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 -s ida -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 [Calling sys.exit(0), Time elapsed: 4.765890210983343]