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.001395/0.001395, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001518/0.001518, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2473/0.2473, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.00214/0.00214, allocations: 79.83 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4114, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1816/0.593, allocations: 131.3 MB / 0.6893 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.5945, allocations: 0.9578 MB / 0.6903 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.5946, allocations: 0 / 0.6903 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.5949, allocations: 19.84 kB / 0.6903 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.5957, allocations: 282.5 kB / 0.6906 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.5962, allocations: 129.7 kB / 0.6907 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.5964, allocations: 175.3 kB / 0.6908 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.5965, allocations: 11.92 kB / 0.6909 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.5967, allocations: 95.62 kB / 0.6909 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.5968, allocations: 59.73 kB / 0.691 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.5969, allocations: 4 kB / 0.691 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.5974, allocations: 271.7 kB / 0.6913 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.5975, allocations: 23.91 kB / 0.6913 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.5975, allocations: 31.88 kB / 0.6913 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.598, allocations: 294.9 kB / 0.6916 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.598, allocations: 3.984 kB / 0.6916 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.598, allocations: 0 / 0.6916 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.598, allocations: 0 / 0.6916 GB, free: 14.01 MB / 0.5294 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.0005767/0.5986, allocations: 329.8 kB / 0.6919 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5986, allocations: 12.03 kB / 0.6919 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.6008, allocations: 192.6 kB / 0.6921 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.6012, allocations: 165.8 kB / 0.6923 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.6012, allocations: 0 / 0.6923 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.6012, allocations: 12 kB / 0.6923 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.6018, allocations: 297.1 kB / 0.6926 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6018, allocations: 3.938 kB / 0.6926 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.6019, allocations: 8 kB / 0.6926 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6019, allocations: 0 / 0.6926 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.6024, allocations: 175.8 kB / 0.6927 GB, free: 12.75 MB / 0.5294 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.001082/0.6034, allocations: 0.505 MB / 0.6932 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.6038, allocations: 130.5 kB / 0.6934 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.604, allocations: 76.7 kB / 0.6934 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.604, allocations: 4 kB / 0.6934 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.604, allocations: 34.55 kB / 0.6935 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.604, allocations: 0 / 0.6935 GB, free: 11.95 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.00544/0.6095, allocations: 1.158 MB / 0.6946 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.6095, allocations: 51.41 kB / 0.6947 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.6096, allocations: 109.8 kB / 0.6948 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.6097, allocations: 29.7 kB / 0.6948 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.6097, allocations: 95.98 kB / 0.6949 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.6098, allocations: 79.36 kB / 0.695 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6099, allocations: 53.69 kB / 0.695 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6101, allocations: 322.8 kB / 0.6953 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.6102, allocations: 71.95 kB / 0.6954 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.6104, allocations: 104.9 kB / 0.6955 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.6108, allocations: 185.2 kB / 0.6957 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6108, allocations: 0 / 0.6957 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005568/0.6114, allocations: 267.7 kB / 0.6959 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6114, allocations: 4 kB / 0.6959 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6114, allocations: 0 / 0.6959 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.6116, allocations: 48.83 kB / 0.696 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.6119, allocations: 47.97 kB / 0.696 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005468/0.6125, allocations: 0.5718 MB / 0.6966 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.6126, allocations: 4.031 kB / 0.6966 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.6127, allocations: 36.16 kB / 0.6966 GB, free: 8.574 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.0001419/0.6128, allocations: 121.8 kB / 0.6967 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.6129, allocations: 15.91 kB / 0.6967 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/0.6137, allocations: 349.4 kB / 0.6971 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6137, allocations: 4 kB / 0.6971 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6138, allocations: 0 / 0.6971 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6138, allocations: 0 / 0.6971 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.6148, allocations: 0.5563 MB / 0.6976 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6148, allocations: 0 / 0.6976 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.6152, allocations: 63.89 kB / 0.6977 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-05/0.6153, allocations: 20.84 kB / 0.6977 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6153, allocations: 11.98 kB / 0.6977 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.6164, allocations: 1.245 MB / 0.6989 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6164, allocations: 0 / 0.6989 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.6172, allocations: 432.6 kB / 0.6993 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.6172, allocations: 15.83 kB / 0.6994 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.6172, allocations: 4 kB / 0.6994 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.6174, allocations: 11.98 kB / 0.6994 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.6175, allocations: 19.97 kB / 0.6994 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.6176, allocations: 31.98 kB / 0.6994 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.716e-05/0.6176, allocations: 95.42 kB / 0.6995 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6176, allocations: 0 / 0.6995 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004652/0.6181, allocations: 71.94 kB / 0.6996 GB, free: 5.34 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.0003682/0.6185, allocations: 162 kB / 0.6997 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.619, allocations: 195.7 kB / 0.6999 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.619, allocations: 0 / 0.6999 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.6194, allocations: 218.5 kB / 0.7001 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.6198, allocations: 44.34 kB / 0.7002 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.6208, allocations: 494.9 kB / 0.7006 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.6209, allocations: 93.97 kB / 0.7007 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.6212, allocations: 77.61 kB / 0.7008 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.6213, allocations: 51.34 kB / 0.7009 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.6213, allocations: 0 / 0.7009 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of Templates: time 0.01171/0.633, allocations: 5.751 MB / 0.7065 GB, free: 14.24 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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: 5.71716397581622]