Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001586/0.001586, allocations: 108.9 kB / 20.45 MB, free: 1.5 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.001839/0.001839, allocations: 214.2 kB / 23.76 MB, free: 4.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.24 MB / 331 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002222/0.002222, allocations: 75.89 kB / 468.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.103, allocations: 61.04 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3436/0.4467, allocations: 151.1 MB / 0.6649 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.448, allocations: 0.9869 MB / 0.6659 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.448, allocations: 3.938 kB / 0.6659 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.4483, allocations: 23.83 kB / 0.6659 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.4489, allocations: 254.4 kB / 0.6661 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4492, allocations: 116.4 kB / 0.6662 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.4495, allocations: 167.3 kB / 0.6664 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.4495, allocations: 11.98 kB / 0.6664 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.4497, allocations: 87.62 kB / 0.6665 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.4498, allocations: 51.77 kB / 0.6665 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.4498, allocations: 4 kB / 0.6665 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.4503, allocations: 267.7 kB / 0.6668 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.4504, allocations: 31.91 kB / 0.6668 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.4505, allocations: 43.8 kB / 0.6669 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.4509, allocations: 278.7 kB / 0.6671 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4509, allocations: 4 kB / 0.6671 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4509, allocations: 0 / 0.6671 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4509, allocations: 0 / 0.6671 GB, free: 10.07 MB / 0.4981 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.0004787/0.4513, allocations: 325.9 kB / 0.6675 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.4514, allocations: 8.031 kB / 0.6675 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.4534, allocations: 197.1 kB / 0.6676 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4537, allocations: 157.2 kB / 0.6678 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4537, allocations: 7.938 kB / 0.6678 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.4537, allocations: 15.94 kB / 0.6678 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.4542, allocations: 224 kB / 0.668 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4542, allocations: 0 / 0.668 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.4542, allocations: 5.938 kB / 0.668 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4542, allocations: 4 kB / 0.668 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.4547, allocations: 167.9 kB / 0.6682 GB, free: 8.922 MB / 0.4981 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.001052/0.4557, allocations: 0.5405 MB / 0.6687 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.456, allocations: 134.5 kB / 0.6689 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4562, allocations: 69.33 kB / 0.6689 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4562, allocations: 3.984 kB / 0.6689 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4562, allocations: 38.5 kB / 0.669 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.895e-06/0.4562, allocations: 7.984 kB / 0.669 GB, free: 8.062 MB / 0.4981 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.005017/0.4613, allocations: 1.142 MB / 0.6701 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4613, allocations: 63.39 kB / 0.6702 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.4614, allocations: 117.8 kB / 0.6703 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.4614, allocations: 33.7 kB / 0.6703 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4615, allocations: 84.09 kB / 0.6704 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.4616, allocations: 83.3 kB / 0.6705 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.4617, allocations: 49.7 kB / 0.6705 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4618, allocations: 322.8 kB / 0.6708 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.462, allocations: 67.95 kB / 0.6709 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.4622, allocations: 115.2 kB / 0.671 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.4625, allocations: 183.3 kB / 0.6712 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4625, allocations: 0 / 0.6712 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004934/0.463, allocations: 263.1 kB / 0.6714 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.463, allocations: 4 kB / 0.6714 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.463, allocations: 4 kB / 0.6714 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.4632, allocations: 52.77 kB / 0.6715 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.4635, allocations: 47.97 kB / 0.6715 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005093/0.464, allocations: 0.5796 MB / 0.6721 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4642, allocations: 4.031 kB / 0.6721 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.4642, allocations: 27.98 kB / 0.6721 GB, free: 4.688 MB / 0.4981 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.000122/0.4643, allocations: 121.8 kB / 0.6722 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.4644, allocations: 7.953 kB / 0.6722 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.4651, allocations: 344.9 kB / 0.6726 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4651, allocations: 7.938 kB / 0.6726 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4651, allocations: 3.938 kB / 0.6726 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4651, allocations: 0 / 0.6726 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4662, allocations: 0.5903 MB / 0.6732 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4662, allocations: 4.094 kB / 0.6732 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.4665, allocations: 63.89 kB / 0.6732 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.361e-05/0.4666, allocations: 20.84 kB / 0.6732 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.4666, allocations: 15.98 kB / 0.6733 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.4677, allocations: 1.263 MB / 0.6745 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4677, allocations: 0 / 0.6745 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.4684, allocations: 438.6 kB / 0.6749 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.4684, allocations: 7.984 kB / 0.6749 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.4684, allocations: 11.98 kB / 0.6749 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4686, allocations: 8 kB / 0.6749 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.4687, allocations: 28.02 kB / 0.675 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4687, allocations: 27.98 kB / 0.675 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.4688, allocations: 91.27 kB / 0.6751 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4688, allocations: 0 / 0.6751 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003991/0.4692, allocations: 83.88 kB / 0.6752 GB, free: 1.359 MB / 0.4981 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.0003394/0.4695, allocations: 151 kB / 0.6753 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004855/0.47, allocations: 192.3 kB / 0.6755 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.47, allocations: 0 / 0.6755 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4704, allocations: 226.8 kB / 0.6757 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.4708, allocations: 50.19 kB / 0.6757 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.4717, allocations: 0.5061 MB / 0.6762 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.472, allocations: 0.7047 MB / 0.6769 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.4722, allocations: 59.41 kB / 0.677 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.4722, allocations: 0 / 0.677 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.006564/0.4788, allocations: 3.809 MB / 0.6807 GB, free: 11.59 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.43114753998816]