Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000895/0.000895, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.003829/0.003829, allocations: 152.5 kB / 24.69 MB, free: 9.426 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.8968/0.8968, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.289e-05, allocations: 4.812 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2748/0.2748, allocations: 131.4 MB / 0.5588 GB, free: 1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2759, allocations: 0.8744 MB / 0.5596 GB, free: 132 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.276, allocations: 0 / 0.5596 GB, free: 132 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2762, allocations: 31.77 kB / 0.5597 GB, free: 100 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.2767, allocations: 258.5 kB / 0.5599 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.277, allocations: 111.6 kB / 0.56 GB, free: 15.73 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.2772, allocations: 183.1 kB / 0.5602 GB, free: 15.55 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.2772, allocations: 10.86 kB / 0.5602 GB, free: 15.55 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2774, allocations: 111.6 kB / 0.5603 GB, free: 15.44 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.2775, allocations: 47.88 kB / 0.5604 GB, free: 15.39 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2775, allocations: 7.938 kB / 0.5604 GB, free: 15.38 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.2778, allocations: 251.6 kB / 0.5606 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.2779, allocations: 27.91 kB / 0.5606 GB, free: 15.11 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.2779, allocations: 31.92 kB / 0.5607 GB, free: 15.08 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.2783, allocations: 327.1 kB / 0.561 GB, free: 14.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2783, allocations: 0 / 0.561 GB, free: 14.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2783, allocations: 4 kB / 0.561 GB, free: 14.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2783, allocations: 7.469 kB / 0.561 GB, free: 14.75 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.0004132/0.2787, allocations: 330.5 kB / 0.5613 GB, free: 14.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2787, allocations: 12.03 kB / 0.5613 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2798, allocations: 203.9 kB / 0.5615 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.28, allocations: 149.7 kB / 0.5616 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2801, allocations: 8.375 kB / 0.5617 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.2801, allocations: 15.89 kB / 0.5617 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.2805, allocations: 301.1 kB / 0.562 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.2805, allocations: 0 / 0.562 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.2805, allocations: 4 kB / 0.562 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2805, allocations: 4 kB / 0.562 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2808, allocations: 167.8 kB / 0.5621 GB, free: 13.5 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.0006741/0.2814, allocations: 0.5006 MB / 0.5626 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2816, allocations: 135.4 kB / 0.5627 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.2817, allocations: 72.14 kB / 0.5628 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2818, allocations: 4 kB / 0.5628 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2818, allocations: 38.5 kB / 0.5629 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2818, allocations: 0 / 0.5629 GB, free: 12.7 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.002794/0.2846, allocations: 1.152 MB / 0.564 GB, free: 11.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2846, allocations: 55.41 kB / 0.564 GB, free: 11.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.2847, allocations: 117.8 kB / 0.5641 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2847, allocations: 25.7 kB / 0.5642 GB, free: 11.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.2847, allocations: 96.03 kB / 0.5643 GB, free: 11.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.2848, allocations: 71.38 kB / 0.5643 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.2848, allocations: 56.94 kB / 0.5644 GB, free: 11.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.2849, allocations: 322.8 kB / 0.5647 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.285, allocations: 71.47 kB / 0.5648 GB, free: 10.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2851, allocations: 105.6 kB / 0.5649 GB, free: 10.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.2854, allocations: 197.1 kB / 0.565 GB, free: 10.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2854, allocations: 0 / 0.565 GB, free: 10.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002999/0.2857, allocations: 255.6 kB / 0.5653 GB, free: 10.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2857, allocations: 9.156 kB / 0.5653 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2857, allocations: 4 kB / 0.5653 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.2858, allocations: 52.83 kB / 0.5654 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.286, allocations: 51.95 kB / 0.5654 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002752/0.2862, allocations: 0.5601 MB / 0.5659 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.2863, allocations: 11.97 kB / 0.566 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2864, allocations: 20 kB / 0.566 GB, free: 9.359 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.433e-05/0.2864, allocations: 135.4 kB / 0.5661 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2865, allocations: 11.95 kB / 0.5661 GB, free: 9.207 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.2872, allocations: 340.3 kB / 0.5664 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2872, allocations: 0 / 0.5664 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2872, allocations: 0 / 0.5664 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2872, allocations: 9.984 kB / 0.5665 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.2878, allocations: 0.5479 MB / 0.567 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2878, allocations: 3.938 kB / 0.567 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.2879, allocations: 67.83 kB / 0.5671 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.815e-05/0.288, allocations: 20.84 kB / 0.5671 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.288, allocations: 15.98 kB / 0.5671 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005457/0.2885, allocations: 1.241 MB / 0.5683 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2885, allocations: 0 / 0.5683 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.2889, allocations: 434.6 kB / 0.5687 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.2889, allocations: 7.984 kB / 0.5687 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2889, allocations: 8 kB / 0.5687 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.289, allocations: 7.938 kB / 0.5687 GB, free: 6.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.2891, allocations: 27.95 kB / 0.5688 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2891, allocations: 20 kB / 0.5688 GB, free: 6.301 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.2891, allocations: 91.27 kB / 0.5689 GB, free: 6.211 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2891, allocations: 4.125 kB / 0.5689 GB, free: 6.207 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.2894, allocations: 83.88 kB / 0.569 GB, free: 6.125 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.0002533/0.2896, allocations: 151.8 kB / 0.5691 GB, free: 5.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.2899, allocations: 196.6 kB / 0.5693 GB, free: 5.773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2899, allocations: 4 kB / 0.5693 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.2901, allocations: 215 kB / 0.5695 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2904, allocations: 59.36 kB / 0.5696 GB, free: 5.492 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.2909, allocations: 438.5 kB / 0.57 GB, free: 5.031 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.291, allocations: 94.03 kB / 0.5701 GB, free: 4.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2911, allocations: 60.47 kB / 0.5701 GB, free: 4.863 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2911, allocations: 0 / 0.5701 GB, free: 4.863 MB / 474.7 MB Notification: Performance of Templates: time 0.004387/0.2955, allocations: 3.948 MB / 0.574 GB, free: 0.9258 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.232621931470931]