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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 194.8 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2549/0.2549, allocations: 44.92 MB / 351.6 MB, free: 12.24 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002149/0.002149, allocations: 63.91 kB / 495.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4921, allocations: 64.24 MB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2242/0.7164, allocations: 149.9 MB / 0.6927 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.718, allocations: 0.9773 MB / 0.6937 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.7181, allocations: 3.938 kB / 0.6937 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.7184, allocations: 27.83 kB / 0.6937 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.7191, allocations: 250.6 kB / 0.6939 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.7196, allocations: 118.2 kB / 0.694 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.7198, allocations: 167.2 kB / 0.6942 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.7199, allocations: 4 kB / 0.6942 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.7201, allocations: 91.61 kB / 0.6943 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.7203, allocations: 51.83 kB / 0.6943 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.7203, allocations: 7.938 kB / 0.6943 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.7209, allocations: 271.7 kB / 0.6946 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.721, allocations: 23.92 kB / 0.6946 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.721, allocations: 43.84 kB / 0.6947 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.7215, allocations: 282.9 kB / 0.6949 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7216, allocations: 0 / 0.6949 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7216, allocations: 0 / 0.6949 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.7216, allocations: 0 / 0.6949 GB, free: 7.145 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.0006804/0.7223, allocations: 407 kB / 0.6953 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7223, allocations: 8.031 kB / 0.6953 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.7243, allocations: 192.6 kB / 0.6955 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.7247, allocations: 207.6 kB / 0.6957 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7247, allocations: 8 kB / 0.6957 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.7248, allocations: 8 kB / 0.6957 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.7253, allocations: 224 kB / 0.6959 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.7253, allocations: 7.938 kB / 0.696 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.7254, allocations: 7.938 kB / 0.696 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7254, allocations: 0 / 0.696 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.7258, allocations: 167.9 kB / 0.6961 GB, free: 5.832 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.001209/0.7271, allocations: 0.5872 MB / 0.6967 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.7274, allocations: 134.5 kB / 0.6968 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.7276, allocations: 68.83 kB / 0.6969 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.7276, allocations: 4 kB / 0.6969 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.7277, allocations: 34.56 kB / 0.6969 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.7277, allocations: 0 / 0.6969 GB, free: 4.93 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.005467/0.7331, allocations: 1.302 MB / 0.6982 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.7332, allocations: 59.41 kB / 0.6983 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.7333, allocations: 117.8 kB / 0.6984 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.7333, allocations: 25.7 kB / 0.6984 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.7334, allocations: 100 kB / 0.6985 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.7335, allocations: 67.38 kB / 0.6986 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.7336, allocations: 53.69 kB / 0.6986 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7338, allocations: 326.8 kB / 0.6989 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.7339, allocations: 63.97 kB / 0.699 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7341, allocations: 114.8 kB / 0.6991 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.7345, allocations: 185 kB / 0.6993 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7345, allocations: 0 / 0.6993 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005074/0.735, allocations: 254.3 kB / 0.6995 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.735, allocations: 11.98 kB / 0.6995 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.735, allocations: 0 / 0.6995 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.7352, allocations: 52.83 kB / 0.6996 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.7356, allocations: 51.91 kB / 0.6996 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/0.7361, allocations: 0.568 MB / 0.7002 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.7363, allocations: 8.031 kB / 0.7002 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.7363, allocations: 31.98 kB / 0.7002 GB, free: 1.375 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.000166/0.7365, allocations: 117.8 kB / 0.7003 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.7366, allocations: 7.953 kB / 0.7003 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.7374, allocations: 358.6 kB / 0.7007 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7374, allocations: 0 / 0.7007 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.7374, allocations: 0 / 0.7007 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7374, allocations: 3.984 kB / 0.7007 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7385, allocations: 0.6346 MB / 0.7013 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7385, allocations: 3.938 kB / 0.7013 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.7389, allocations: 59.89 kB / 0.7014 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.739, allocations: 20.84 kB / 0.7014 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.739, allocations: 15.98 kB / 0.7014 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.7403, allocations: 1.363 MB / 0.7027 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7403, allocations: 3.984 kB / 0.7027 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.741, allocations: 434.7 kB / 0.7031 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.7411, allocations: 89.05 kB / 0.7032 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.7411, allocations: 11.98 kB / 0.7032 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.7413, allocations: 8 kB / 0.7032 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.7414, allocations: 24.03 kB / 0.7033 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.7415, allocations: 31.98 kB / 0.7033 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.7415, allocations: 83.28 kB / 0.7034 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7415, allocations: 0 / 0.7034 GB, free: 13.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004436/0.742, allocations: 83.81 kB / 0.7035 GB, free: 13.77 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.0003963/0.7424, allocations: 151.1 kB / 0.7036 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006162/0.743, allocations: 194.8 kB / 0.7038 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.743, allocations: 192 / 0.7038 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.7434, allocations: 224.9 kB / 0.704 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.7439, allocations: 43.95 kB / 0.704 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.7449, allocations: 494.6 kB / 0.7045 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.7453, allocations: 0.7085 MB / 0.7052 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003208/0.7456, allocations: 81.59 kB / 0.7053 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.7458, allocations: 51.41 kB / 0.7053 GB, free: 11.76 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.7458, allocations: 7.875 kB / 0.7053 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Templates: time 0.0115/0.7573, allocations: 5.697 MB / 0.7109 GB, free: 6.07 MB / 0.545 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.917105513624847]