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.001065/0.001065, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001243/0.001243, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.285/0.285, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.763e-06/1.763e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/3.998e-05, allocations: 5.438 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3491/0.3492, allocations: 144.6 MB / 467.8 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.3501, allocations: 0.9869 MB / 468.8 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.3502, allocations: 5.438 kB / 468.8 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.3505, allocations: 25.89 kB / 468.8 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.3512, allocations: 255.8 kB / 469.1 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3515, allocations: 123.3 kB / 469.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3517, allocations: 175 kB / 469.4 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.3518, allocations: 2.969 kB / 469.4 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.352, allocations: 115.2 kB / 469.5 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.3521, allocations: 41.66 kB / 469.5 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3521, allocations: 4.578 kB / 469.5 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.3525, allocations: 264.8 kB / 469.8 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3525, allocations: 19.39 kB / 469.8 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.3526, allocations: 39.06 kB / 469.9 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.3529, allocations: 309.4 kB / 470.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3529, allocations: 0 / 470.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.353, allocations: 1.094 kB / 470.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.353, allocations: 0 / 470.2 MB, free: 16.7 MB / 410.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.0003632/0.3533, allocations: 305.4 kB / 470.5 MB, free: 16.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3534, allocations: 13.34 kB / 470.5 MB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.3543, allocations: 253.5 kB / 470.7 MB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3545, allocations: 128 kB / 470.9 MB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3545, allocations: 11.39 kB / 470.9 MB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.3546, allocations: 12.91 kB / 470.9 MB, free: 16.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3548, allocations: 273.5 kB / 471.1 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3548, allocations: 2.938 kB / 471.1 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3548, allocations: 1.203 kB / 471.1 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3548, allocations: 3.469 kB / 471.1 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.355, allocations: 85.19 kB / 471.2 MB, free: 16.1 MB / 410.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.0005089/0.3555, allocations: 429.9 kB / 471.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3556, allocations: 96.47 kB / 471.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.3557, allocations: 41.89 kB / 471.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3557, allocations: 6.547 kB / 471.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3557, allocations: 30.56 kB / 471.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.3557, allocations: 2.344 kB / 471.8 MB, free: 15.71 MB / 410.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.002193/0.3579, allocations: 0.8406 MB / 472.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3579, allocations: 54.12 kB / 472.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.358, allocations: 114.8 kB / 472.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.358, allocations: 32.36 kB / 472.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.358, allocations: 99.7 kB / 473 MB, free: 15.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.3581, allocations: 70.09 kB / 473 MB, free: 15.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.3581, allocations: 46.92 kB / 473.1 MB, free: 15.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.3582, allocations: 321.2 kB / 473.4 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.3582, allocations: 28.34 kB / 473.4 MB, free: 14.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3583, allocations: 70.02 kB / 473.5 MB, free: 14.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3584, allocations: 120 kB / 473.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3584, allocations: 3.938 kB / 473.6 MB, free: 14.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001954/0.3586, allocations: 154.8 kB / 473.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3586, allocations: 10.28 kB / 473.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3586, allocations: 0 / 473.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.3587, allocations: 26.95 kB / 473.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3589, allocations: 48.56 kB / 473.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.3661, allocations: 1.613 MB / 475.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3662, allocations: 7.891 kB / 475.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3663, allocations: 14.33 kB / 475.5 MB, free: 13.27 MB / 410.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.3664, allocations: 127.5 kB / 475.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3664, allocations: 17.03 kB / 475.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.3667, allocations: 207.2 kB / 475.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3667, allocations: 2.875 kB / 475.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3667, allocations: 0 / 475.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3667, allocations: 0 / 475.8 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.3671, allocations: 373.8 kB / 476.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3671, allocations: 7.562 kB / 476.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3672, allocations: 51.52 kB / 476.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.922e-05/0.3673, allocations: 17.27 kB / 476.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3673, allocations: 10 kB / 476.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003558/0.3677, allocations: 1.155 MB / 477.4 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3677, allocations: 4.031 kB / 477.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3679, allocations: 311.2 kB / 477.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.3679, allocations: 19.53 kB / 477.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.368, allocations: 7.344 kB / 477.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.3681, allocations: 2.906 kB / 477.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3681, allocations: 24.17 kB / 477.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3681, allocations: 18.03 kB / 477.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.777e-05/0.3681, allocations: 14.53 kB / 477.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3681, allocations: 0 / 477.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.3684, allocations: 84.42 kB / 477.9 MB, free: 11.51 MB / 410.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 (20): * Single equations (assignments): 19 * 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.000275/0.3687, allocations: 137 kB / 478 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.369, allocations: 233.1 kB / 478.3 MB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.369, allocations: 3.625 kB / 478.3 MB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3691, allocations: 188.5 kB / 478.4 MB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3693, allocations: 56.98 kB / 478.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.37, allocations: 384.7 kB / 478.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.3701, allocations: 72.61 kB / 479 MB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.3702, allocations: 61.52 kB / 479 MB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3704, allocations: 116.2 kB / 479.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3704, allocations: 0 / 479.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of Templates: time 0.008344/0.3787, allocations: 6.209 MB / 485.3 MB, free: 10.21 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5824578600004315]