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.001621/0.001621, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002013/0.002013, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 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.2212/0.2212, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 65.47 MB / 0.5582 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1931/0.5231, allocations: 152.7 MB / 0.7074 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.5245, allocations: 0.9734 MB / 0.7083 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.5246, allocations: 0 / 0.7083 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.5248, allocations: 31.77 kB / 0.7084 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.5255, allocations: 246.7 kB / 0.7086 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.5259, allocations: 122.3 kB / 0.7087 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.5261, allocations: 175.3 kB / 0.7089 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.5262, allocations: 8 kB / 0.7089 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.5264, allocations: 87.62 kB / 0.709 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.5265, allocations: 51.83 kB / 0.709 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.5265, allocations: 4 kB / 0.709 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.527, allocations: 275.7 kB / 0.7093 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.5271, allocations: 19.92 kB / 0.7093 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.5272, allocations: 47.73 kB / 0.7094 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.5276, allocations: 283 kB / 0.7096 GB, free: 12.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5276, allocations: 0 / 0.7096 GB, free: 12.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5276, allocations: 0 / 0.7096 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5276, allocations: 0 / 0.7096 GB, free: 12.09 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.0005313/0.5281, allocations: 333.8 kB / 0.7099 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5282, allocations: 8.031 kB / 0.71 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.5302, allocations: 200.6 kB / 0.7101 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.5306, allocations: 161.7 kB / 0.7103 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5306, allocations: 11.98 kB / 0.7103 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.5306, allocations: 8 kB / 0.7103 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.5311, allocations: 222.6 kB / 0.7105 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5312, allocations: 4 kB / 0.7105 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.5312, allocations: 4 kB / 0.7105 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5312, allocations: 7.984 kB / 0.7105 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5316, allocations: 163.8 kB / 0.7107 GB, free: 10.92 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.001157/0.5328, allocations: 0.5629 MB / 0.7113 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.5332, allocations: 138.4 kB / 0.7114 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5333, allocations: 64.83 kB / 0.7114 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.5334, allocations: 4 kB / 0.7115 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.5334, allocations: 34.56 kB / 0.7115 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.5334, allocations: 0 / 0.7115 GB, free: 10.05 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.005263/0.5386, allocations: 1.147 MB / 0.7126 GB, free: 8.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.5387, allocations: 59.41 kB / 0.7127 GB, free: 8.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5388, allocations: 113.8 kB / 0.7128 GB, free: 8.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.5388, allocations: 33.69 kB / 0.7128 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.5389, allocations: 95.98 kB / 0.7129 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.539, allocations: 75.36 kB / 0.713 GB, free: 8.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.5391, allocations: 49.66 kB / 0.713 GB, free: 8.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5392, allocations: 326.8 kB / 0.7133 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.5394, allocations: 71.95 kB / 0.7134 GB, free: 7.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5396, allocations: 111.2 kB / 0.7135 GB, free: 7.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.54, allocations: 183.5 kB / 0.7137 GB, free: 7.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.54, allocations: 4 kB / 0.7137 GB, free: 7.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005406/0.5405, allocations: 258.3 kB / 0.7139 GB, free: 7.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5405, allocations: 8 kB / 0.7139 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5405, allocations: 3.984 kB / 0.7139 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.5407, allocations: 48.83 kB / 0.714 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.5411, allocations: 51.91 kB / 0.714 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000509/0.5416, allocations: 0.568 MB / 0.7146 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.5418, allocations: 8.031 kB / 0.7146 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.5418, allocations: 27.98 kB / 0.7146 GB, free: 6.672 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.0001362/0.5419, allocations: 125.7 kB / 0.7147 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.542, allocations: 7.953 kB / 0.7147 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.5428, allocations: 350.2 kB / 0.7151 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5428, allocations: 7.984 kB / 0.7151 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5428, allocations: 0 / 0.7151 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5428, allocations: 0 / 0.7151 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.544, allocations: 0.5843 MB / 0.7157 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.544, allocations: 4.094 kB / 0.7157 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.5443, allocations: 59.95 kB / 0.7157 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.5444, allocations: 20.84 kB / 0.7157 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.5445, allocations: 11.98 kB / 0.7158 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.5457, allocations: 1.283 MB / 0.717 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5457, allocations: 0 / 0.717 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.5465, allocations: 442.4 kB / 0.7174 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.5465, allocations: 11.95 kB / 0.7174 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.5465, allocations: 4 kB / 0.7174 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.5468, allocations: 7.984 kB / 0.7175 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5468, allocations: 35.91 kB / 0.7175 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.5469, allocations: 27.98 kB / 0.7175 GB, free: 3.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.5469, allocations: 95.55 kB / 0.7176 GB, free: 3.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5469, allocations: 0 / 0.7176 GB, free: 3.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004305/0.5474, allocations: 91.75 kB / 0.7177 GB, free: 3.316 MB / 0.545 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.0003675/0.5477, allocations: 151.1 kB / 0.7178 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005581/0.5483, allocations: 191.8 kB / 0.718 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5483, allocations: 0 / 0.718 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.5487, allocations: 229.3 kB / 0.7182 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.5491, allocations: 38.78 kB / 0.7183 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.5501, allocations: 0.5022 MB / 0.7188 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5506, allocations: 0.7047 MB / 0.7195 GB, free: 1.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5508, allocations: 55.41 kB / 0.7195 GB, free: 1.367 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.5508, allocations: 0 / 0.7195 GB, free: 1.367 MB / 0.545 GB Notification: Performance of Templates: time 0.006739/0.5575, allocations: 3.894 MB / 0.7233 GB, free: 13.47 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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: 8.590649486985058]