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.001268/0.001268, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.003027, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009493/0.0009493, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002094, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.051/1.051, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.154, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2845/0.2845, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.3096, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.272e-06/1.272e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.508e-05, allocations: 2.312 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1456/0.1456, allocations: 145.1 MB / 435.7 MB, free: 6.668 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1466, allocations: 0.9926 MB / 436.7 MB, free: 5.672 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.1467, allocations: 4 kB / 436.7 MB, free: 5.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1469, allocations: 27.78 kB / 436.7 MB, free: 5.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.1475, allocations: 254.4 kB / 437 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1478, allocations: 115.6 kB / 437.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.148, allocations: 175.2 kB / 437.2 MB, free: 5.105 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1481, allocations: 8 kB / 437.2 MB, free: 5.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.1483, allocations: 123.6 kB / 437.4 MB, free: 4.977 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.1484, allocations: 39.89 kB / 437.4 MB, free: 4.938 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1484, allocations: 4 kB / 437.4 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.1489, allocations: 271.5 kB / 437.7 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1489, allocations: 19.94 kB / 437.7 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.149, allocations: 31.94 kB / 437.7 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1493, allocations: 255.4 kB / 438 MB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711e-05/0.1493, allocations: 0 / 438 MB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1493, allocations: 0 / 438 MB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1493, allocations: 4 kB / 438 MB, free: 4.363 MB / 426.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.0005503/0.1499, allocations: 340.8 kB / 438.3 MB, free: 4.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1499, allocations: 8.031 kB / 438.3 MB, free: 4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.151, allocations: 330.2 kB / 438.6 MB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1513, allocations: 133.6 kB / 438.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1513, allocations: 12.06 kB / 438.8 MB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1513, allocations: 12 kB / 438.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1516, allocations: 261.9 kB / 439.1 MB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1516, allocations: 4 kB / 439.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1516, allocations: 0 / 439.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1517, allocations: 0 / 439.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1518, allocations: 87.89 kB / 439.1 MB, free: 3.094 MB / 426.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.0008458/0.1526, allocations: 432.1 kB / 439.6 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1528, allocations: 94.47 kB / 439.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1529, allocations: 40.84 kB / 439.7 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1529, allocations: 3.984 kB / 439.7 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1529, allocations: 38.56 kB / 439.7 MB, free: 2.453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.1529, allocations: 0 / 439.7 MB, free: 2.453 MB / 426.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.002272/0.1552, allocations: 0.8179 MB / 440.6 MB, free: 1.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1552, allocations: 55.41 kB / 440.6 MB, free: 1.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.1553, allocations: 118.7 kB / 440.7 MB, free: 1.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1553, allocations: 33.7 kB / 440.8 MB, free: 1.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.1554, allocations: 91.98 kB / 440.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.1554, allocations: 71.41 kB / 440.9 MB, free: 1.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.1555, allocations: 45.64 kB / 441 MB, free: 1.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.1556, allocations: 326.8 kB / 441.3 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.1556, allocations: 27.98 kB / 441.3 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.1557, allocations: 62.66 kB / 441.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1558, allocations: 122.1 kB / 441.5 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1558, allocations: 0 / 441.5 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001988/0.156, allocations: 150.9 kB / 441.6 MB, free: 424 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.156, allocations: 9.875 kB / 441.6 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.156, allocations: 0 / 441.6 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.1561, allocations: 20.84 kB / 441.7 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1564, allocations: 76.95 kB / 441.7 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2235/0.3799, allocations: 1.238 MB / 443 MB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.38, allocations: 10.38 kB / 443 MB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.38, allocations: 13.59 kB / 443 MB, free: 8.207 MB / 426.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 9.615e-05/0.3801, allocations: 121.2 kB / 443.1 MB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.3802, allocations: 12.58 kB / 443.1 MB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.3805, allocations: 191.3 kB / 443.3 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3805, allocations: 2.312 kB / 443.3 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3805, allocations: 6.844 kB / 443.3 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3806, allocations: 0.5625 kB / 443.3 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.3811, allocations: 378.6 kB / 443.7 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3811, allocations: 0.6875 kB / 443.7 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3814, allocations: 67.86 kB / 443.8 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.3814, allocations: 10.25 kB / 443.8 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.142e-05/0.3815, allocations: 22.41 kB / 443.8 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3815, allocations: 10.33 kB / 443.8 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004349/0.382, allocations: 1.149 MB / 445 MB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.382, allocations: 1.375 kB / 445 MB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3823, allocations: 312 kB / 445.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3823, allocations: 2.469 kB / 445.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3824, allocations: 10.89 kB / 445.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.3824, allocations: 23.47 kB / 445.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3824, allocations: 10.5 kB / 445.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.3825, allocations: 12.23 kB / 445.3 MB, free: 6.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3825, allocations: 1.469 kB / 445.3 MB, free: 6.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.3828, allocations: 81.17 kB / 445.4 MB, free: 6.512 MB / 426.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.0002741/0.383, allocations: 130.8 kB / 445.5 MB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3834, allocations: 237 kB / 445.8 MB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.3834, allocations: 3.531 kB / 445.8 MB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3835, allocations: 185.5 kB / 445.9 MB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3837, allocations: 70.94 kB / 446 MB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3856, allocations: 367 kB / 446.4 MB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.3856, allocations: 76.5 kB / 446.5 MB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3858, allocations: 56.42 kB / 446.5 MB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.386, allocations: 109.2 kB / 446.6 MB, free: 5.898 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.386, allocations: 0 / 446.6 MB, free: 5.898 MB / 426.7 MB Notification: Performance of Templates: time 0.007502/0.3935, allocations: 5.604 MB / 452.2 MB, free: 5.613 MB / 426.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 -ignoreHideResult -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.261377351358533]