Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.001495/0.001495, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00153/0.00153, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.797/1.797, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2495/0.2495, allocations: 44.28 MB / 330.4 MB, free: 9.285 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.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.002377/0.002377, allocations: 75.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1662, allocations: 61.03 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5041/0.6703, allocations: 129.5 MB / 0.6431 GB, free: 428 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.6719, allocations: 0.8837 MB / 0.644 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.6719, allocations: 0 / 0.644 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.6722, allocations: 27.77 kB / 0.644 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007441/0.673, allocations: 248.3 kB / 0.6442 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.6734, allocations: 120.1 kB / 0.6443 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.6737, allocations: 171.3 kB / 0.6445 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.6737, allocations: 7.984 kB / 0.6445 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.674, allocations: 95.55 kB / 0.6446 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.6741, allocations: 51.83 kB / 0.6447 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.6741, allocations: 8 kB / 0.6447 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.6746, allocations: 243.7 kB / 0.6449 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.6747, allocations: 27.91 kB / 0.6449 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.6748, allocations: 39.86 kB / 0.645 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.6753, allocations: 282 kB / 0.6452 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6753, allocations: 0 / 0.6452 GB, free: 14.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6753, allocations: 0 / 0.6452 GB, free: 14.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.6753, allocations: 0 / 0.6452 GB, free: 14.26 MB / 494.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.0005905/0.6759, allocations: 337.8 kB / 0.6456 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.676, allocations: 12.03 kB / 0.6456 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.6781, allocations: 185.1 kB / 0.6457 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.6785, allocations: 154.6 kB / 0.6459 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.6785, allocations: 7.938 kB / 0.6459 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.6785, allocations: 13.77 kB / 0.6459 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.6791, allocations: 305.1 kB / 0.6462 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6791, allocations: 0 / 0.6462 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.6792, allocations: 4 kB / 0.6462 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.6792, allocations: 4 kB / 0.6462 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.6797, allocations: 167.8 kB / 0.6464 GB, free: 13.01 MB / 494.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.001124/0.6808, allocations: 0.4943 MB / 0.6468 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.6811, allocations: 144.9 kB / 0.647 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.6813, allocations: 72.81 kB / 0.6471 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.6813, allocations: 0 / 0.6471 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.6814, allocations: 34.56 kB / 0.6471 GB, free: 12.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.6814, allocations: 0 / 0.6471 GB, free: 12.21 MB / 494.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.005509/0.6869, allocations: 1.152 MB / 0.6482 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.6869, allocations: 57 kB / 0.6483 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.687, allocations: 113.8 kB / 0.6484 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.6871, allocations: 29.7 kB / 0.6484 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.6871, allocations: 88.09 kB / 0.6485 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/0.6872, allocations: 83.3 kB / 0.6486 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6873, allocations: 49.7 kB / 0.6486 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6875, allocations: 322.8 kB / 0.6489 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6877, allocations: 71.95 kB / 0.649 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6879, allocations: 103.2 kB / 0.6491 GB, free: 10.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.6882, allocations: 191.2 kB / 0.6493 GB, free: 9.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6882, allocations: 0 / 0.6493 GB, free: 9.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005635/0.6888, allocations: 262.2 kB / 0.6495 GB, free: 9.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6888, allocations: 8 kB / 0.6495 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6888, allocations: 0 / 0.6495 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.689, allocations: 48.92 kB / 0.6496 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.6894, allocations: 55.91 kB / 0.6496 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005252/0.6899, allocations: 0.5685 MB / 0.6502 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.6901, allocations: 7.875 kB / 0.6502 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.6901, allocations: 31.98 kB / 0.6502 GB, free: 8.836 MB / 494.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.0001424/0.6903, allocations: 121.8 kB / 0.6503 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.6903, allocations: 11.95 kB / 0.6504 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008216/0.6911, allocations: 345.1 kB / 0.6507 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6911, allocations: 4 kB / 0.6507 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6911, allocations: 3.938 kB / 0.6507 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6911, allocations: 0 / 0.6507 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.6922, allocations: 0.5402 MB / 0.6512 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6922, allocations: 7.938 kB / 0.6512 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.6926, allocations: 59.95 kB / 0.6513 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.988e-05/0.6927, allocations: 20.94 kB / 0.6513 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.6927, allocations: 15.98 kB / 0.6513 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.6938, allocations: 1.237 MB / 0.6525 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6938, allocations: 4.031 kB / 0.6525 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.6946, allocations: 442.6 kB / 0.653 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.6946, allocations: 7.953 kB / 0.653 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.6946, allocations: 7.938 kB / 0.653 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6948, allocations: 11.98 kB / 0.653 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.6949, allocations: 19.97 kB / 0.653 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.6949, allocations: 31.98 kB / 0.653 GB, free: 5.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.233e-05/0.695, allocations: 91.52 kB / 0.6531 GB, free: 5.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.695, allocations: 0 / 0.6531 GB, free: 5.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.6954, allocations: 79.88 kB / 0.6532 GB, free: 5.609 MB / 494.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.0003675/0.6958, allocations: 155 kB / 0.6533 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.6963, allocations: 208.4 kB / 0.6535 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6963, allocations: 0 / 0.6535 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.6967, allocations: 218.6 kB / 0.6537 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.6972, allocations: 51.31 kB / 0.6538 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.6982, allocations: 488.1 kB / 0.6543 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.6983, allocations: 89.97 kB / 0.6543 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.6986, allocations: 77.39 kB / 0.6544 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.6988, allocations: 51.41 kB / 0.6545 GB, free: 4.223 MB / 494.1 MB Notification: Performance of SimCode: time 4.4e-07/0.6988, allocations: 0 / 0.6545 GB, free: 4.223 MB / 494.1 MB Notification: Performance of Templates: time 0.01096/0.7097, allocations: 5.674 MB / 0.66 GB, free: 14.57 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.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: 6.345061223953962]