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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002235/0.002235, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2423/0.2423, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 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: 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.002267/0.002267, allocations: 71.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.422, allocations: 65.46 MB / 0.5574 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2276/0.6495, allocations: 131.3 MB / 0.6857 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.6511, allocations: 0.8721 MB / 0.6865 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.6511, allocations: 0 / 0.6865 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.6514, allocations: 27.84 kB / 0.6866 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.6522, allocations: 246.6 kB / 0.6868 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.6526, allocations: 130 kB / 0.6869 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.6529, allocations: 167.3 kB / 0.6871 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.6529, allocations: 15.88 kB / 0.6871 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.6532, allocations: 91.62 kB / 0.6872 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.6533, allocations: 43.83 kB / 0.6872 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.6534, allocations: 8 kB / 0.6872 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.6539, allocations: 255.7 kB / 0.6875 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.654, allocations: 23.91 kB / 0.6875 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.6541, allocations: 39.86 kB / 0.6875 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.6546, allocations: 282.9 kB / 0.6878 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6546, allocations: 7.938 kB / 0.6878 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6546, allocations: 0 / 0.6878 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.6546, allocations: 0 / 0.6878 GB, free: 1.312 MB / 0.5137 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.0006489/0.6552, allocations: 333.8 kB / 0.6881 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6553, allocations: 12.03 kB / 0.6882 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.6575, allocations: 196.6 kB / 0.6883 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.6579, allocations: 161.8 kB / 0.6885 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.6579, allocations: 11.94 kB / 0.6885 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.658, allocations: 4 kB / 0.6885 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.6586, allocations: 297.2 kB / 0.6888 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6586, allocations: 4 kB / 0.6888 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.6586, allocations: 0 / 0.6888 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6587, allocations: 0 / 0.6888 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.6591, allocations: 171.8 kB / 0.689 GB, free: 60 kB / 0.5137 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.001122/0.6603, allocations: 0.5127 MB / 0.6895 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.6606, allocations: 134.5 kB / 0.6896 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6608, allocations: 64.83 kB / 0.6897 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.6608, allocations: 4 kB / 0.6897 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.6608, allocations: 38.56 kB / 0.6897 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.6608, allocations: 0 / 0.6897 GB, free: 15.25 MB / 0.5294 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.005476/0.6663, allocations: 1.16 MB / 0.6908 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.6664, allocations: 55.41 kB / 0.6909 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.6665, allocations: 105.8 kB / 0.691 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.6665, allocations: 33.7 kB / 0.691 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.6666, allocations: 99.97 kB / 0.6911 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.6667, allocations: 71.38 kB / 0.6912 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6668, allocations: 53.69 kB / 0.6912 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.667, allocations: 326.8 kB / 0.6915 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.6671, allocations: 67.97 kB / 0.6916 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.6673, allocations: 108.8 kB / 0.6917 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.6677, allocations: 183.3 kB / 0.6919 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6677, allocations: 0 / 0.6919 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005465/0.6683, allocations: 267.8 kB / 0.6921 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6683, allocations: 4 kB / 0.6921 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6683, allocations: 0 / 0.6921 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.6685, allocations: 48.83 kB / 0.6922 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.6688, allocations: 59.91 kB / 0.6922 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.6694, allocations: 0.5601 MB / 0.6928 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.6696, allocations: 8.031 kB / 0.6928 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.6696, allocations: 24.14 kB / 0.6928 GB, free: 11.88 MB / 0.5294 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.0001499/0.6698, allocations: 129.8 kB / 0.6929 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.6698, allocations: 11.91 kB / 0.693 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.6706, allocations: 351.2 kB / 0.6933 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6707, allocations: 4 kB / 0.6933 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6707, allocations: 0 / 0.6933 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6707, allocations: 3.984 kB / 0.6933 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6717, allocations: 0.5486 MB / 0.6938 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6717, allocations: 0 / 0.6938 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.6721, allocations: 59.95 kB / 0.6939 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/0.6722, allocations: 24.84 kB / 0.6939 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.6722, allocations: 11.94 kB / 0.6939 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.6734, allocations: 1.252 MB / 0.6952 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6734, allocations: 0 / 0.6952 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.6741, allocations: 436 kB / 0.6956 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.6742, allocations: 19.86 kB / 0.6956 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6742, allocations: 8 kB / 0.6956 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.6744, allocations: 8 kB / 0.6956 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.6745, allocations: 27.89 kB / 0.6956 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.6745, allocations: 31.98 kB / 0.6957 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.6746, allocations: 87.44 kB / 0.6957 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6746, allocations: 4 kB / 0.6957 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004309/0.675, allocations: 83.92 kB / 0.6958 GB, free: 8.617 MB / 0.5294 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.0004046/0.6754, allocations: 155.1 kB / 0.696 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.676, allocations: 194.9 kB / 0.6962 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.676, allocations: 0 / 0.6962 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.6764, allocations: 222.5 kB / 0.6964 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.6769, allocations: 42.53 kB / 0.6964 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.6778, allocations: 480.3 kB / 0.6969 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.6779, allocations: 93.97 kB / 0.697 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.6783, allocations: 77.61 kB / 0.697 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.6785, allocations: 51.41 kB / 0.6971 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.6785, allocations: 4 kB / 0.6971 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of Templates: time 0.01134/0.6898, allocations: 5.693 MB / 0.7026 GB, free: 1.59 MB / 0.5294 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/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.7846536338329315]