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.002608/0.002608, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003169/0.003169, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3758/0.3758, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.769e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5968/0.5969, allocations: 145 MB / 0.51 GB, free: 17.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.5989, allocations: 1.06 MB / 0.511 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.599, allocations: 10.44 kB / 0.511 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.5994, allocations: 28.98 kB / 0.5111 GB, free: 17.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.6006, allocations: 282.1 kB / 0.5113 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.6012, allocations: 119.4 kB / 0.5114 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.6016, allocations: 183.2 kB / 0.5116 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.6016, allocations: 3.328 kB / 0.5116 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.602, allocations: 124.3 kB / 0.5117 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.6021, allocations: 49.48 kB / 0.5118 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.6022, allocations: 5.312 kB / 0.5118 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.603, allocations: 264.6 kB / 0.512 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.6031, allocations: 22.42 kB / 0.5121 GB, free: 16.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.6032, allocations: 37.33 kB / 0.5121 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.6039, allocations: 322.5 kB / 0.5124 GB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6039, allocations: 0 / 0.5124 GB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6039, allocations: 0 / 0.5124 GB, free: 16.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.6039, allocations: 2.844 kB / 0.5124 GB, free: 16.64 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.0006504/0.6046, allocations: 437.6 kB / 0.5128 GB, free: 16.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.6046, allocations: 9.141 kB / 0.5128 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.6076, allocations: 212.8 kB / 0.513 GB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.608, allocations: 159 kB / 0.5132 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.608, allocations: 7.938 kB / 0.5132 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.6081, allocations: 14.23 kB / 0.5132 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.6087, allocations: 321 kB / 0.5135 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.6088, allocations: 6.375 kB / 0.5135 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.6088, allocations: 4 kB / 0.5135 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.6088, allocations: 2.781 kB / 0.5135 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.6094, allocations: 186.4 kB / 0.5137 GB, free: 15.78 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.001276/0.6107, allocations: 0.653 MB / 0.5143 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.6111, allocations: 150.9 kB / 0.5145 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6113, allocations: 78.89 kB / 0.5146 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.6113, allocations: 3.812 kB / 0.5146 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.6114, allocations: 40.17 kB / 0.5146 GB, free: 15.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.6114, allocations: 0 / 0.5146 GB, free: 15.04 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.006485/0.6179, allocations: 1.1 MB / 0.5157 GB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6179, allocations: 54.41 kB / 0.5157 GB, free: 14.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.618, allocations: 172.9 kB / 0.5159 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.618, allocations: 25.7 kB / 0.5159 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.6181, allocations: 149 kB / 0.5161 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.6181, allocations: 69.53 kB / 0.5161 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.6183, allocations: 61.12 kB / 0.5162 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6184, allocations: 0.4984 MB / 0.5167 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.6185, allocations: 65.58 kB / 0.5167 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.6188, allocations: 116.6 kB / 0.5168 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.6192, allocations: 196.2 kB / 0.517 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6192, allocations: 0 / 0.517 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006336/0.6198, allocations: 265.7 kB / 0.5173 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6198, allocations: 9.688 kB / 0.5173 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6199, allocations: 3.031 kB / 0.5173 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.6201, allocations: 39.11 kB / 0.5173 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.6205, allocations: 52.03 kB / 0.5174 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004157/0.6209, allocations: 0.8178 MB / 0.5182 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.6211, allocations: 4 kB / 0.5182 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.6211, allocations: 23.78 kB / 0.5182 GB, free: 12.39 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.6213, allocations: 174.1 kB / 0.5184 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.6214, allocations: 16.36 kB / 0.5184 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.6222, allocations: 311.2 kB / 0.5187 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6222, allocations: 3.031 kB / 0.5187 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6222, allocations: 4 kB / 0.5187 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.6222, allocations: 4.812 kB / 0.5187 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.6234, allocations: 0.5957 MB / 0.5193 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6234, allocations: 7.875 kB / 0.5193 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.6238, allocations: 49.02 kB / 0.5193 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.6239, allocations: 25.56 kB / 0.5194 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.6239, allocations: 7.891 kB / 0.5194 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008932/0.6248, allocations: 1.767 MB / 0.5211 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6248, allocations: 5.75 kB / 0.5211 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.6257, allocations: 489 kB / 0.5216 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.6257, allocations: 14.91 kB / 0.5216 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.6257, allocations: 2.562 kB / 0.5216 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.626, allocations: 13.69 kB / 0.5216 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.6261, allocations: 30.42 kB / 0.5216 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.6261, allocations: 18.97 kB / 0.5216 GB, free: 9.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.6262, allocations: 139.5 kB / 0.5218 GB, free: 9.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6262, allocations: 0 / 0.5218 GB, free: 9.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.6268, allocations: 84.44 kB / 0.5219 GB, free: 9.344 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.0004397/0.6273, allocations: 148 kB / 0.522 GB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.6279, allocations: 212.8 kB / 0.5222 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6279, allocations: 0 / 0.5222 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.6283, allocations: 287.4 kB / 0.5225 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.629, allocations: 56.62 kB / 0.5225 GB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.6299, allocations: 413.6 kB / 0.5229 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.995e-05/0.63, allocations: 86.42 kB / 0.523 GB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.6303, allocations: 61.22 kB / 0.5231 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.6305, allocations: 46.25 kB / 0.5231 GB, free: 8.543 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6305, allocations: 0 / 0.5231 GB, free: 8.543 MB / 410.7 MB Notification: Performance of Templates: time 0.01361/0.6441, allocations: 5.358 MB / 0.5283 GB, free: 8.074 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] 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.784190558013506]