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.00131/0.00131, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001516/0.001516, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 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.2213/0.2213, allocations: 46.94 MB / 361.6 MB, free: 4.242 MB / 286.1 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 0.002206/0.002206, allocations: 67.89 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2949, allocations: 66.02 MB / 0.5619 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1771/0.472, allocations: 152.7 MB / 0.711 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4735, allocations: 1.067 MB / 0.7121 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.4736, allocations: 4 kB / 0.7121 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.4739, allocations: 39.77 kB / 0.7121 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.4747, allocations: 274.5 kB / 0.7124 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.4751, allocations: 119.3 kB / 0.7125 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.4754, allocations: 187.2 kB / 0.7127 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4754, allocations: 7.984 kB / 0.7127 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.4756, allocations: 95.62 kB / 0.7128 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.4758, allocations: 51.77 kB / 0.7128 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4758, allocations: 8 kB / 0.7128 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.4763, allocations: 271.7 kB / 0.7131 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.4764, allocations: 23.97 kB / 0.7131 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.4765, allocations: 51.73 kB / 0.7131 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.4769, allocations: 286 kB / 0.7134 GB, free: 8.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4769, allocations: 0 / 0.7134 GB, free: 8.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4769, allocations: 0 / 0.7134 GB, free: 8.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4769, allocations: 0 / 0.7134 GB, free: 8.574 MB / 0.545 GB 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.0005061/0.4774, allocations: 337.8 kB / 0.7137 GB, free: 8.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4774, allocations: 8.031 kB / 0.7137 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4795, allocations: 200.6 kB / 0.7139 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.4798, allocations: 153.7 kB / 0.7141 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4799, allocations: 8 kB / 0.7141 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.4799, allocations: 8 kB / 0.7141 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.4804, allocations: 220.1 kB / 0.7143 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4804, allocations: 0 / 0.7143 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.4804, allocations: 4 kB / 0.7143 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.4804, allocations: 8 kB / 0.7143 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.4809, allocations: 171.8 kB / 0.7145 GB, free: 7.41 MB / 0.545 GB 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.001054/0.4819, allocations: 0.555 MB / 0.715 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.4823, allocations: 138.5 kB / 0.7152 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4824, allocations: 68.81 kB / 0.7152 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4825, allocations: 3.984 kB / 0.7152 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4825, allocations: 42.75 kB / 0.7153 GB, free: 6.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4825, allocations: 0 / 0.7153 GB, free: 6.535 MB / 0.545 GB 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.005122/0.4876, allocations: 1.159 MB / 0.7164 GB, free: 5.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4877, allocations: 51.41 kB / 0.7165 GB, free: 5.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.4878, allocations: 109.8 kB / 0.7166 GB, free: 5.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4878, allocations: 29.7 kB / 0.7166 GB, free: 5.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.4879, allocations: 104 kB / 0.7167 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.4879, allocations: 71.41 kB / 0.7168 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.488, allocations: 57.64 kB / 0.7168 GB, free: 4.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4882, allocations: 318.8 kB / 0.7171 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4883, allocations: 75.95 kB / 0.7172 GB, free: 4.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4885, allocations: 110.8 kB / 0.7173 GB, free: 4.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.4889, allocations: 181.6 kB / 0.7175 GB, free: 4.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4889, allocations: 0 / 0.7175 GB, free: 4.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005047/0.4894, allocations: 258.4 kB / 0.7177 GB, free: 3.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4894, allocations: 8.031 kB / 0.7177 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4894, allocations: 4 kB / 0.7177 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.4896, allocations: 48.83 kB / 0.7178 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4899, allocations: 55.91 kB / 0.7178 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/0.4904, allocations: 0.5641 MB / 0.7184 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4905, allocations: 8.094 kB / 0.7184 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.4906, allocations: 27.98 kB / 0.7184 GB, free: 3.168 MB / 0.545 GB 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.0001342/0.4907, allocations: 125.7 kB / 0.7185 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.4908, allocations: 11.95 kB / 0.7185 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.4915, allocations: 353.9 kB / 0.7189 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4915, allocations: 0 / 0.7189 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4915, allocations: 8 kB / 0.7189 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4915, allocations: 0 / 0.7189 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4925, allocations: 0.5894 MB / 0.7195 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4925, allocations: 0 / 0.7195 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.4929, allocations: 63.89 kB / 0.7195 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.078e-05/0.493, allocations: 24.94 kB / 0.7195 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.493, allocations: 11.94 kB / 0.7196 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.494, allocations: 1.267 MB / 0.7208 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.494, allocations: 7.969 kB / 0.7208 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.4947, allocations: 430.7 kB / 0.7212 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.4948, allocations: 11.97 kB / 0.7212 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4948, allocations: 8 kB / 0.7212 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.495, allocations: 8 kB / 0.7212 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4951, allocations: 19.91 kB / 0.7213 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.4951, allocations: 31.98 kB / 0.7213 GB, free: 4 kB / 0.545 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.4952, allocations: 91.39 kB / 0.7214 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4952, allocations: 0 / 0.7214 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004097/0.4956, allocations: 83.75 kB / 0.7215 GB, free: 15.83 MB / 0.5606 GB 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.0003436/0.4959, allocations: 155 kB / 0.7216 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.4964, allocations: 199.8 kB / 0.7218 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4964, allocations: 0 / 0.7218 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.4968, allocations: 214.9 kB / 0.722 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4972, allocations: 48.48 kB / 0.722 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.4981, allocations: 0.4969 MB / 0.7225 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4985, allocations: 0.7086 MB / 0.7232 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.4987, allocations: 55.41 kB / 0.7233 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.4987, allocations: 0 / 0.7233 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.006565/0.5052, allocations: 3.885 MB / 0.7271 GB, free: 9.984 MB / 0.5606 GB " [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=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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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: 8.218594486126676]