Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001368/0.001368, allocations: 77.14 kB / 21.25 MB, free: 0.5391 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.001465/0.001465, allocations: 159.9 kB / 24.51 MB, free: 3.707 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.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.05 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08953, allocations: 53.34 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05567/0.1452, allocations: 45.52 MB / 424.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.1517, allocations: 4.709 MB / 429.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1519, allocations: 7.938 kB / 429.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.1526, allocations: 230.7 kB / 429.4 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.1533, allocations: 373.9 kB / 429.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.1703, allocations: 7.131 MB / 436.9 MB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1717, allocations: 1.103 MB / 438 MB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1719, allocations: 90.72 kB / 438.1 MB, free: 4.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/0.1789, allocations: 3.622 MB / 441.7 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.1795, allocations: 406.5 kB / 442.1 MB, free: 252 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.1796, allocations: 56 kB / 442.1 MB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01723/0.1968, allocations: 9.318 MB / 451.5 MB, free: 6.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.1972, allocations: 239.4 kB / 451.7 MB, free: 6.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.1976, allocations: 263.2 kB / 451.9 MB, free: 6.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.208, allocations: 5.452 MB / 457.4 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.208, allocations: 0 / 457.4 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.208, allocations: 0 / 457.4 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.208, allocations: 0 / 457.4 MB, free: 0.9023 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002886/0.2109, allocations: 1.327 MB / 458.7 MB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.211, allocations: 12.03 kB / 458.7 MB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/0.2113, allocations: 59.72 kB / 458.8 MB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.2118, allocations: 305 kB / 459.1 MB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.2119, allocations: 33 kB / 459.1 MB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.212, allocations: 44 kB / 459.2 MB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.2134, allocations: 0.8855 MB / 460.1 MB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2135, allocations: 7.938 kB / 460.1 MB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.2135, allocations: 16 kB / 460.1 MB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2135, allocations: 16 kB / 460.1 MB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.2149, allocations: 0.7378 MB / 460.8 MB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.2276, allocations: 3.58 MB / 464.4 MB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2289, allocations: 0.5008 MB / 464.9 MB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.2293, allocations: 242.2 kB / 465.1 MB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.2402, allocations: 2.553 MB / 467.7 MB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.2403, allocations: 47 kB / 467.7 MB, free: 6.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.074e-06/0.2403, allocations: 0 / 467.7 MB, free: 6.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005906/0.2462, allocations: 1.9 MB / 469.6 MB, free: 4.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2462, allocations: 59.91 kB / 469.7 MB, free: 4.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.2466, allocations: 269.6 kB / 470 MB, free: 4.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.2466, allocations: 37.7 kB / 470 MB, free: 4.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2468, allocations: 201.3 kB / 470.2 MB, free: 3.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.247, allocations: 210.2 kB / 470.4 MB, free: 3.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2472, allocations: 106.3 kB / 470.5 MB, free: 3.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2473, allocations: 354.8 kB / 470.9 MB, free: 3.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.2478, allocations: 237.2 kB / 471.1 MB, free: 2.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.2485, allocations: 344.3 kB / 471.4 MB, free: 2.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2498, allocations: 0.5968 MB / 472 MB, free: 1.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2498, allocations: 0 / 472 MB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001966/0.2517, allocations: 0.7612 MB / 472.8 MB, free: 1.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2518, allocations: 4 kB / 472.8 MB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2518, allocations: 4.078 kB / 472.8 MB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.2523, allocations: 110.7 kB / 472.9 MB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.2528, allocations: 127.8 kB / 473 MB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1751/0.4279, allocations: 3.228 MB / 476.3 MB, free: 85.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.4283, allocations: 14.97 kB / 476.3 MB, free: 85.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.4284, allocations: 30.47 kB / 476.3 MB, free: 85.15 MB / 430.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003311/0.4287, allocations: 188.1 kB / 476.5 MB, free: 85.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.4291, allocations: 40.55 kB / 476.5 MB, free: 85.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4307, allocations: 0.817 MB / 477.3 MB, free: 84.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4307, allocations: 5.531 kB / 477.3 MB, free: 84.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4307, allocations: 4.734 kB / 477.3 MB, free: 84.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.4318, allocations: 0.7634 MB / 478.1 MB, free: 84.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4337, allocations: 1.127 MB / 479.2 MB, free: 84.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4337, allocations: 1.375 kB / 479.2 MB, free: 84.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.4342, allocations: 98.14 kB / 479.3 MB, free: 84.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000895/0.4351, allocations: 151.6 kB / 479.5 MB, free: 84.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.4351, allocations: 20.84 kB / 479.5 MB, free: 84.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/0.4354, allocations: 0.6445 MB / 480.1 MB, free: 83.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4354, allocations: 4.641 kB / 480.2 MB, free: 83.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.437, allocations: 0.9049 MB / 481.1 MB, free: 83.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.437, allocations: 35.66 kB / 481.1 MB, free: 83.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.4371, allocations: 8.828 kB / 481.1 MB, free: 83.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.4375, allocations: 21.61 kB / 481.1 MB, free: 83.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.4376, allocations: 40.27 kB / 481.2 MB, free: 83.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.4376, allocations: 32.34 kB / 481.2 MB, free: 83.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.4378, allocations: 215.6 kB / 481.4 MB, free: 83.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4378, allocations: 0 / 481.4 MB, free: 83.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003449/0.4413, allocations: 1.337 MB / 482.7 MB, free: 82.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005282/0.4466, allocations: 1.693 MB / 484.4 MB, free: 82.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.448, allocations: 0.7728 MB / 485.2 MB, free: 82.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.448, allocations: 1.219 kB / 485.2 MB, free: 82.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.4485, allocations: 290.3 kB / 485.5 MB, free: 82.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4497, allocations: 224.1 kB / 485.7 MB, free: 82.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.4515, allocations: 1.102 MB / 486.8 MB, free: 81.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4517, allocations: 233.1 kB / 487 MB, free: 81.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004536/0.4522, allocations: 134.9 kB / 487.2 MB, free: 81.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4523, allocations: 55.92 kB / 487.2 MB, free: 81.54 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4523, allocations: 0 / 487.2 MB, free: 81.54 MB / 430.1 MB Notification: Performance of Templates: time 0.04726/0.4996, allocations: 44.23 MB / 0.519 GB, free: 42.79 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.0353103390662]