Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009205/0.0009205, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003949/0.003949, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8989/0.8989, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.883e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2599/0.2599, allocations: 131.4 MB / 0.5613 GB, free: 12.95 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008251/0.2607, allocations: 0.9499 MB / 0.5623 GB, free: 11.99 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.2608, allocations: 4 kB / 0.5623 GB, free: 11.99 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.261, allocations: 35.75 kB / 0.5623 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.2615, allocations: 278.2 kB / 0.5626 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.2618, allocations: 120 kB / 0.5627 GB, free: 11.57 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.262, allocations: 191.1 kB / 0.5629 GB, free: 11.38 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.262, allocations: 6.922 kB / 0.5629 GB, free: 11.38 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.2622, allocations: 119.6 kB / 0.563 GB, free: 11.26 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.2623, allocations: 47.89 kB / 0.563 GB, free: 11.21 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.2623, allocations: 4 kB / 0.563 GB, free: 11.21 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.2626, allocations: 263.6 kB / 0.5633 GB, free: 10.95 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.2626, allocations: 19.92 kB / 0.5633 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.2627, allocations: 39.91 kB / 0.5633 GB, free: 10.89 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.263, allocations: 323.2 kB / 0.5636 GB, free: 10.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.263, allocations: 0 / 0.5636 GB, free: 10.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.263, allocations: 0 / 0.5636 GB, free: 10.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.263, allocations: 0 / 0.5636 GB, free: 10.57 MB / 474.7 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.0004067/0.2634, allocations: 338.5 kB / 0.564 GB, free: 10.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2635, allocations: 8.031 kB / 0.564 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.2645, allocations: 211.9 kB / 0.5642 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2647, allocations: 149.1 kB / 0.5643 GB, free: 9.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2647, allocations: 15.06 kB / 0.5643 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2648, allocations: 7.953 kB / 0.5643 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2651, allocations: 306.7 kB / 0.5646 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2651, allocations: 0 / 0.5646 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2651, allocations: 3.938 kB / 0.5646 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2651, allocations: 8 kB / 0.5646 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.2654, allocations: 161.2 kB / 0.5648 GB, free: 9.32 MB / 474.7 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.0006215/0.266, allocations: 0.5083 MB / 0.5653 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2662, allocations: 130.5 kB / 0.5654 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.2663, allocations: 76.31 kB / 0.5655 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2663, allocations: 0 / 0.5655 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2663, allocations: 38.56 kB / 0.5655 GB, free: 8.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2663, allocations: 0 / 0.5655 GB, free: 8.52 MB / 474.7 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.002658/0.269, allocations: 1.151 MB / 0.5667 GB, free: 7.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.269, allocations: 55.41 kB / 0.5667 GB, free: 7.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2691, allocations: 109.8 kB / 0.5668 GB, free: 7.137 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2691, allocations: 29.7 kB / 0.5668 GB, free: 7.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.2692, allocations: 104 kB / 0.5669 GB, free: 6.996 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.2692, allocations: 71.38 kB / 0.567 GB, free: 6.926 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.2693, allocations: 56.94 kB / 0.5671 GB, free: 6.867 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.2693, allocations: 314.8 kB / 0.5674 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.2694, allocations: 79.89 kB / 0.5674 GB, free: 6.473 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.2695, allocations: 97.62 kB / 0.5675 GB, free: 6.367 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.2697, allocations: 192.9 kB / 0.5677 GB, free: 6.168 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2697, allocations: 4 kB / 0.5677 GB, free: 6.164 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002933/0.27, allocations: 256.2 kB / 0.568 GB, free: 5.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.27, allocations: 8 kB / 0.568 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.27, allocations: 0 / 0.568 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.2702, allocations: 48.83 kB / 0.568 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2703, allocations: 51.91 kB / 0.5681 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005283/0.2708, allocations: 0.5726 MB / 0.5686 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.2709, allocations: 7.969 kB / 0.5686 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.2709, allocations: 32.92 kB / 0.5687 GB, free: 5.164 MB / 474.7 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 8.082e-05/0.271, allocations: 118.9 kB / 0.5688 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.2711, allocations: 7.953 kB / 0.5688 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.2715, allocations: 351.6 kB / 0.5691 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2715, allocations: 0 / 0.5691 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2715, allocations: 4 kB / 0.5691 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2715, allocations: 7.938 kB / 0.5691 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.2721, allocations: 0.5488 MB / 0.5697 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2721, allocations: 0 / 0.5697 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2722, allocations: 63.95 kB / 0.5697 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.857e-05/0.2723, allocations: 20.78 kB / 0.5697 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2723, allocations: 19.8 kB / 0.5698 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005561/0.2729, allocations: 1.237 MB / 0.571 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2729, allocations: 0 / 0.571 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.2733, allocations: 432.4 kB / 0.5714 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2733, allocations: 7.984 kB / 0.5714 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2733, allocations: 11.98 kB / 0.5714 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2734, allocations: 20.09 kB / 0.5714 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2734, allocations: 19.97 kB / 0.5714 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2734, allocations: 27.98 kB / 0.5715 GB, free: 2.105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.088e-05/0.2735, allocations: 91.27 kB / 0.5716 GB, free: 2.016 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2735, allocations: 3.938 kB / 0.5716 GB, free: 2.012 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.2737, allocations: 79.88 kB / 0.5716 GB, free: 1.934 MB / 474.7 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.0002649/0.274, allocations: 155 kB / 0.5718 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.2743, allocations: 196.6 kB / 0.572 GB, free: 1.578 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2743, allocations: 0 / 0.572 GB, free: 1.578 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2745, allocations: 219.4 kB / 0.5722 GB, free: 1.352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2747, allocations: 50.72 kB / 0.5722 GB, free: 1.305 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.2753, allocations: 442.2 kB / 0.5727 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.664e-05/0.2753, allocations: 86.11 kB / 0.5727 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2754, allocations: 60.45 kB / 0.5728 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2754, allocations: 0 / 0.5728 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of Templates: time 0.004027/0.2795, allocations: 3.944 MB / 0.5766 GB, free: 12.75 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.205563500523567]