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.00185/0.00185, allocations: 95.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.001914/0.001914, allocations: 165.3 kB / 24.27 MB, free: 156 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.71/1.71, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.4038/0.4038, allocations: 32.81 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.553e-06/1.553e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.677e-05, allocations: 13.2 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4084/0.4084, allocations: 144.9 MB / 0.508 GB, free: 20.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4098, allocations: 0.9719 MB / 0.5089 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.4099, allocations: 3.938 kB / 0.5089 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.4102, allocations: 33.94 kB / 0.509 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009436/0.4112, allocations: 245.1 kB / 0.5092 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.4116, allocations: 122.7 kB / 0.5093 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.4119, allocations: 172.5 kB / 0.5095 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.412, allocations: 3.609 kB / 0.5095 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.4123, allocations: 120.3 kB / 0.5096 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.4125, allocations: 41.97 kB / 0.5096 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.4125, allocations: 5.5 kB / 0.5096 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006588/0.4132, allocations: 259 kB / 0.5099 GB, free: 19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.4132, allocations: 22.92 kB / 0.5099 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.4133, allocations: 34.36 kB / 0.51 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.414, allocations: 327.4 kB / 0.5103 GB, free: 18.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.414, allocations: 0 / 0.5103 GB, free: 18.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.414, allocations: 0 / 0.5103 GB, free: 18.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.414, allocations: 0 / 0.5103 GB, free: 18.87 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.0005309/0.4145, allocations: 444.5 kB / 0.5107 GB, free: 18.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4146, allocations: 6.922 kB / 0.5107 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.4167, allocations: 220.6 kB / 0.5109 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.417, allocations: 152.7 kB / 0.511 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.417, allocations: 11.81 kB / 0.5111 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.4171, allocations: 9.938 kB / 0.5111 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.4176, allocations: 330.6 kB / 0.5114 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4176, allocations: 0 / 0.5114 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.4176, allocations: 0 / 0.5114 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4176, allocations: 2.188 kB / 0.5114 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.418, allocations: 193.5 kB / 0.5116 GB, free: 18 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.0009582/0.419, allocations: 0.6521 MB / 0.5122 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4193, allocations: 151.2 kB / 0.5124 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.4195, allocations: 72.61 kB / 0.5124 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.4195, allocations: 9.656 kB / 0.5124 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.4195, allocations: 34.05 kB / 0.5125 GB, free: 17.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.041e-06/0.4195, allocations: 0 / 0.5125 GB, free: 17.27 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.004833/0.4243, allocations: 1.096 MB / 0.5135 GB, free: 16.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.4244, allocations: 54.19 kB / 0.5136 GB, free: 16.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.4244, allocations: 173.6 kB / 0.5138 GB, free: 16.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4245, allocations: 33.64 kB / 0.5138 GB, free: 16.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.4245, allocations: 147.9 kB / 0.5139 GB, free: 16.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.4246, allocations: 68.38 kB / 0.514 GB, free: 16.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.4247, allocations: 64.97 kB / 0.5141 GB, free: 16.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.4248, allocations: 0.4931 MB / 0.5145 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4249, allocations: 70.66 kB / 0.5146 GB, free: 15.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.4251, allocations: 116.4 kB / 0.5147 GB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.4254, allocations: 197.1 kB / 0.5149 GB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4254, allocations: 0 / 0.5149 GB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004591/0.4258, allocations: 262 kB / 0.5151 GB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4259, allocations: 10.41 kB / 0.5152 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4259, allocations: 2.625 kB / 0.5152 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.4261, allocations: 42.23 kB / 0.5152 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.4264, allocations: 48.5 kB / 0.5152 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003165/0.4267, allocations: 0.8221 MB / 0.5161 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.4269, allocations: 11.28 kB / 0.5161 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.4269, allocations: 18.77 kB / 0.5161 GB, free: 14.61 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 8.721e-05/0.427, allocations: 171.8 kB / 0.5162 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.427, allocations: 15.95 kB / 0.5163 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.4276, allocations: 310.1 kB / 0.5166 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4276, allocations: 0 / 0.5166 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4276, allocations: 6.906 kB / 0.5166 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4277, allocations: 7.219 kB / 0.5166 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.4284, allocations: 0.5947 MB / 0.5171 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4285, allocations: 3.938 kB / 0.5172 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.4288, allocations: 64.67 kB / 0.5172 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.086e-05/0.4289, allocations: 23.09 kB / 0.5172 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4289, allocations: 11.44 kB / 0.5172 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/0.4296, allocations: 1.773 MB / 0.519 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4296, allocations: 0 / 0.519 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.4302, allocations: 491.6 kB / 0.5194 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.4302, allocations: 12.72 kB / 0.5195 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4302, allocations: 6.969 kB / 0.5195 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.4304, allocations: 17.34 kB / 0.5195 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.4305, allocations: 27.25 kB / 0.5195 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4305, allocations: 16.58 kB / 0.5195 GB, free: 11.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.4305, allocations: 134.6 kB / 0.5197 GB, free: 11.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4305, allocations: 0 / 0.5197 GB, free: 11.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.4309, allocations: 79.05 kB / 0.5197 GB, free: 11.57 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.0003299/0.4313, allocations: 153.6 kB / 0.5199 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.4317, allocations: 205.8 kB / 0.5201 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4317, allocations: 3.031 kB / 0.5201 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.432, allocations: 289.2 kB / 0.5203 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4324, allocations: 55.81 kB / 0.5204 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.4331, allocations: 406.5 kB / 0.5208 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.032e-05/0.4331, allocations: 88.2 kB / 0.5209 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.4334, allocations: 64.78 kB / 0.5209 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.4335, allocations: 47.53 kB / 0.521 GB, free: 10.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4335, allocations: 0 / 0.521 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Templates: time 0.009163/0.4427, allocations: 5.354 MB / 0.5262 GB, free: 10.29 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","/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.80511261196807]