Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.00132/0.00132, allocations: 82.42 kB / 20.68 MB, free: 1.039 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.001438/0.001438, allocations: 164.3 kB / 23.95 MB, free: 4.172 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.432/1.432, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.12e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07161/0.07164, allocations: 58.84 MB / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.07892, allocations: 4.962 MB / 388.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.07919, allocations: 19.88 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.08016, allocations: 329.9 kB / 389.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009737/0.08114, allocations: 0.5432 MB / 389.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02012/0.1013, allocations: 7.546 MB / 397.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.1034, allocations: 1.555 MB / 398.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.1037, allocations: 137.5 kB / 399 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1049, allocations: 0.8533 MB / 399.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.1057, allocations: 0.5375 MB / 400.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1058, allocations: 88 kB / 400.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/0.1241, allocations: 9.57 MB / 410.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.1246, allocations: 343.1 kB / 410.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.1252, allocations: 339.4 kB / 410.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.141, allocations: 7.164 MB / 417.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.141, allocations: 0 / 417.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.141, allocations: 0 / 417.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.141, allocations: 0 / 417.9 MB, free: 8.109 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004219/0.1452, allocations: 1.529 MB / 419.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1453, allocations: 12.03 kB / 419.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.1458, allocations: 83.61 kB / 419.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.1465, allocations: 383.6 kB / 419.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.1466, allocations: 53.25 kB / 419.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1467, allocations: 60 kB / 420 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.1489, allocations: 1.216 MB / 421.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1489, allocations: 3.953 kB / 421.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/0.149, allocations: 28 kB / 421.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.149, allocations: 16 kB / 421.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.1511, allocations: 1.016 MB / 422.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.1654, allocations: 4.05 MB / 426.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.1673, allocations: 0.704 MB / 427 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.1679, allocations: 387 kB / 427.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.1796, allocations: 2.615 MB / 430 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.1796, allocations: 47.22 kB / 430.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 5.09e-06/0.1797, allocations: 4 kB / 430.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01057/0.1902, allocations: 3.132 MB / 433.2 MB, free: 8.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.1903, allocations: 72.27 kB / 433.3 MB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.1907, allocations: 301.8 kB / 433.6 MB, free: 8.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.1908, allocations: 45.7 kB / 433.6 MB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.191, allocations: 241.1 kB / 433.8 MB, free: 7.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.1913, allocations: 317.2 kB / 434.2 MB, free: 7.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.1916, allocations: 162.6 kB / 434.3 MB, free: 7.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1918, allocations: 362.8 kB / 434.7 MB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.1925, allocations: 373.8 kB / 435 MB, free: 6.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.1936, allocations: 492.2 kB / 435.5 MB, free: 6.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.1955, allocations: 0.9059 MB / 436.4 MB, free: 5.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.1955, allocations: 0 / 436.4 MB, free: 5.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002867/0.1984, allocations: 1.113 MB / 437.5 MB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1984, allocations: 4 kB / 437.5 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1984, allocations: 4 kB / 437.5 MB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/0.1993, allocations: 167.6 kB / 437.7 MB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.2001, allocations: 199.6 kB / 437.9 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.2035, allocations: 3.853 MB / 441.8 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.2039, allocations: 19.98 kB / 441.8 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.204, allocations: 43.98 kB / 441.8 MB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.2044, allocations: 228.9 kB / 442 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.2049, allocations: 67.67 kB / 442.1 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.2075, allocations: 1.276 MB / 443.4 MB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2075, allocations: 11.94 kB / 443.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2076, allocations: 0 / 443.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/0.2097, allocations: 1.32 MB / 444.7 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.2132, allocations: 1.714 MB / 446.4 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2132, allocations: 3.984 kB / 446.4 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.2139, allocations: 167.8 kB / 446.6 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.2158, allocations: 309.2 kB / 446.9 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.2159, allocations: 27.98 kB / 446.9 MB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009852/0.2169, allocations: 1.285 MB / 448.2 MB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.2169, allocations: 3.938 kB / 448.2 MB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.2198, allocations: 1.41 MB / 449.6 MB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2199, allocations: 47.67 kB / 449.7 MB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.22, allocations: 28.05 kB / 449.7 MB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.2206, allocations: 27.98 kB / 449.7 MB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2207, allocations: 56.83 kB / 449.8 MB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.2208, allocations: 43.97 kB / 449.8 MB, free: 7.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.2211, allocations: 243 kB / 450.1 MB, free: 6.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2211, allocations: 0 / 450.1 MB, free: 6.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003889/0.225, allocations: 1.423 MB / 451.5 MB, free: 5.539 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007287/0.2323, allocations: 1.909 MB / 453.4 MB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.2353, allocations: 1.105 MB / 454.5 MB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2353, allocations: 0 / 454.5 MB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2364, allocations: 487.8 kB / 455 MB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.2383, allocations: 337.1 kB / 455.3 MB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.2413, allocations: 1.508 MB / 456.8 MB, free: 132 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.2417, allocations: 317.8 kB / 457.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006957/0.2424, allocations: 196.8 kB / 457.3 MB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2427, allocations: 76.47 kB / 457.4 MB, free: 15.52 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2427, allocations: 0 / 457.4 MB, free: 15.52 MB / 430.1 MB Notification: Performance of Templates: time 0.2111/0.4537, allocations: 49.36 MB / 0.4949 GB, free: 112.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.70062869042158]