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.00158/0.00158, allocations: 116 kB / 18.45 MB, free: 4.605 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.001615/0.001615, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.53/1.53, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.263/0.263, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] 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.001949/0.001949, allocations: 63.91 kB / 0.4921 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1584, allocations: 66 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5493/0.7077, allocations: 152.7 MB / 0.7056 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.71, allocations: 1.063 MB / 0.7067 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.7101, allocations: 0 / 0.7067 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.7104, allocations: 27.83 kB / 0.7067 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.7115, allocations: 278.5 kB / 0.707 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.712, allocations: 111.6 kB / 0.7071 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.7123, allocations: 183.3 kB / 0.7072 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.004e-05/0.7124, allocations: 11.94 kB / 0.7073 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.7127, allocations: 95.61 kB / 0.7073 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.7128, allocations: 59.77 kB / 0.7074 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.7128, allocations: 4 kB / 0.7074 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.7136, allocations: 267.7 kB / 0.7077 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.7137, allocations: 27.91 kB / 0.7077 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.7138, allocations: 43.8 kB / 0.7077 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006838/0.7145, allocations: 287.6 kB / 0.708 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7145, allocations: 0 / 0.708 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7145, allocations: 0 / 0.708 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7145, allocations: 6.062 kB / 0.708 GB, free: 6.02 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.0008046/0.7153, allocations: 410.9 kB / 0.7084 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.7154, allocations: 12.03 kB / 0.7084 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.7188, allocations: 193.1 kB / 0.7086 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.7193, allocations: 212 kB / 0.7088 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7193, allocations: 8 kB / 0.7088 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.7193, allocations: 12 kB / 0.7088 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.7201, allocations: 220 kB / 0.709 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.7201, allocations: 0 / 0.709 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.7201, allocations: 4 kB / 0.709 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7201, allocations: 4 kB / 0.709 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.7206, allocations: 177.9 kB / 0.7092 GB, free: 4.695 MB / 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.001255/0.7219, allocations: 0.5693 MB / 0.7098 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.7223, allocations: 138.5 kB / 0.7099 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.7224, allocations: 72.83 kB / 0.71 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.7225, allocations: 0 / 0.71 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7225, allocations: 34.81 kB / 0.71 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 4.158e-06/0.7225, allocations: 3.984 kB / 0.71 GB, free: 3.805 MB / 0.5137 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.005892/0.7284, allocations: 1.313 MB / 0.7113 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.7284, allocations: 55.41 kB / 0.7113 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.7285, allocations: 111.1 kB / 0.7114 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.7286, allocations: 29.7 kB / 0.7115 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.7286, allocations: 91.98 kB / 0.7116 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.7287, allocations: 79.41 kB / 0.7116 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.7288, allocations: 53.66 kB / 0.7117 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.729, allocations: 322.8 kB / 0.712 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.7292, allocations: 75.89 kB / 0.7121 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.7293, allocations: 103.2 kB / 0.7122 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.7297, allocations: 193.5 kB / 0.7123 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.7297, allocations: 0 / 0.7123 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005947/0.7303, allocations: 258.2 kB / 0.7126 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7303, allocations: 8 kB / 0.7126 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7303, allocations: 0 / 0.7126 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.7305, allocations: 52.92 kB / 0.7127 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.7309, allocations: 51.91 kB / 0.7127 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005019/0.7314, allocations: 0.564 MB / 0.7133 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.7315, allocations: 4.031 kB / 0.7133 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.7316, allocations: 31.98 kB / 0.7133 GB, free: 260 kB / 0.5137 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.0001722/0.7318, allocations: 125.9 kB / 0.7134 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.7318, allocations: 7.953 kB / 0.7134 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008617/0.7327, allocations: 346.6 kB / 0.7137 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.7327, allocations: 7.938 kB / 0.7138 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7327, allocations: 0 / 0.7138 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7327, allocations: 3.938 kB / 0.7138 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.7338, allocations: 0.6277 MB / 0.7144 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7338, allocations: 0 / 0.7144 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.7342, allocations: 61.89 kB / 0.7144 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.7342, allocations: 20.84 kB / 0.7144 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.7343, allocations: 12 kB / 0.7145 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.7357, allocations: 1.376 MB / 0.7158 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7357, allocations: 3.984 kB / 0.7158 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.7365, allocations: 437.7 kB / 0.7162 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.7366, allocations: 85.09 kB / 0.7163 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.7366, allocations: 8 kB / 0.7163 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.7368, allocations: 8.75 kB / 0.7163 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.7369, allocations: 23.91 kB / 0.7163 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.7369, allocations: 31.98 kB / 0.7164 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.737, allocations: 87.27 kB / 0.7165 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.737, allocations: 0 / 0.7165 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004444/0.7374, allocations: 83.88 kB / 0.7165 GB, free: 12.65 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.000406/0.7378, allocations: 159 kB / 0.7167 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.7384, allocations: 198.5 kB / 0.7169 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7384, allocations: 4 kB / 0.7169 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.7388, allocations: 220.9 kB / 0.7171 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.7393, allocations: 43.33 kB / 0.7171 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/0.7402, allocations: 0.4888 MB / 0.7176 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.7406, allocations: 0.7085 MB / 0.7183 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.7408, allocations: 59.39 kB / 0.7184 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.7408, allocations: 0 / 0.7184 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.007182/0.748, allocations: 3.877 MB / 0.7221 GB, free: 6.82 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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: 8.900604677008232]