Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001031/0.001031, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.001162/0.001162, allocations: 168.7 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8648/0.8648, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 7.887 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.018e-05, allocations: 2.312 kB / 251.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.05097/0.05099, allocations: 66.88 MB / 318 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.05633, allocations: 5.519 MB / 323.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.05661, allocations: 11.94 kB / 323.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.05741, allocations: 329.9 kB / 323.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.05806, allocations: 0.5394 MB / 324.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.0702, allocations: 7.198 MB / 331.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.07153, allocations: 1.566 MB / 333.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.07175, allocations: 141.5 kB / 333.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.07251, allocations: 0.8494 MB / 334.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.07304, allocations: 0.5337 MB / 334.7 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/0.07313, allocations: 84 kB / 334.8 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.08501, allocations: 9.449 MB / 344.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.08537, allocations: 347.2 kB / 344.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.08577, allocations: 343.4 kB / 344.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.09585, allocations: 6.684 MB / 351.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09585, allocations: 0 / 351.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09586, allocations: 0 / 351.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.09586, allocations: 0 / 351.6 MB, free: 3.102 MB / 330.7 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.00234/0.0982, allocations: 1.617 MB / 353.2 MB, free: 1.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.09824, allocations: 8.031 kB / 353.2 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.09859, allocations: 159.2 kB / 353.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.09903, allocations: 386.4 kB / 353.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.09906, allocations: 57.28 kB / 353.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.09914, allocations: 72 kB / 353.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1108/0.2099, allocations: 0.8753 MB / 354.7 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.21, allocations: 4.844 kB / 354.7 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.21, allocations: 27.44 kB / 354.8 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.2101, allocations: 17.31 kB / 354.8 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2114, allocations: 0.4924 MB / 355.3 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006616/0.218, allocations: 3.895 MB / 359.2 MB, free: 79.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.2188, allocations: 478.3 kB / 359.6 MB, free: 79.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.2191, allocations: 208.9 kB / 359.8 MB, free: 79.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004646/0.2237, allocations: 2.65 MB / 362.5 MB, free: 79.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2237, allocations: 44.8 kB / 362.5 MB, free: 79.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.2238, allocations: 4 kB / 362.5 MB, free: 79.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.004259/0.228, allocations: 2.207 MB / 364.7 MB, free: 78.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.228, allocations: 62.69 kB / 364.8 MB, free: 78.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2282, allocations: 325.6 kB / 365.1 MB, free: 78.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.2283, allocations: 46.23 kB / 365.2 MB, free: 78.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.2283, allocations: 288.7 kB / 365.5 MB, free: 78.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2285, allocations: 327.9 kB / 365.8 MB, free: 78.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2286, allocations: 164 kB / 365.9 MB, free: 78.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.2287, allocations: 0.5272 MB / 366.5 MB, free: 77.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2289, allocations: 171.2 kB / 366.6 MB, free: 77.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2293, allocations: 323 kB / 366.9 MB, free: 77.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.2301, allocations: 0.5329 MB / 367.5 MB, free: 77.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2301, allocations: 0 / 367.5 MB, free: 77.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001285/0.2313, allocations: 0.8047 MB / 368.3 MB, free: 77.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2314, allocations: 6.469 kB / 368.3 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2314, allocations: 2.938 kB / 368.3 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.2318, allocations: 146.1 kB / 368.4 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2322, allocations: 190.7 kB / 368.6 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2335, allocations: 5.294 MB / 373.9 MB, free: 72.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2337, allocations: 18.75 kB / 373.9 MB, free: 72.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.2337, allocations: 44.98 kB / 374 MB, free: 72.07 MB / 330.7 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.0001475/0.2339, allocations: 210.2 kB / 374.2 MB, free: 71.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.2341, allocations: 153 kB / 374.3 MB, free: 71.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2353, allocations: 0.96 MB / 375.3 MB, free: 71.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2353, allocations: 10.03 kB / 375.3 MB, free: 71.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2353, allocations: 3.188 kB / 375.3 MB, free: 71.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008082/0.2361, allocations: 1.006 MB / 376.3 MB, free: 71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2376, allocations: 1.361 MB / 377.7 MB, free: 70.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2376, allocations: 1.719 kB / 377.7 MB, free: 70.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.2379, allocations: 157.3 kB / 377.8 MB, free: 70.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008399/0.2388, allocations: 287.1 kB / 378.1 MB, free: 70.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.2388, allocations: 28.81 kB / 378.1 MB, free: 70.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002859/0.2391, allocations: 1.834 MB / 380 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2391, allocations: 0 / 380 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.2403, allocations: 1.031 MB / 381 MB, free: 68.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2403, allocations: 42.98 kB / 381 MB, free: 68.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.2404, allocations: 22 kB / 381.1 MB, free: 68.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.2406, allocations: 36.61 kB / 381.1 MB, free: 68.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.2407, allocations: 60.55 kB / 381.2 MB, free: 68.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.2407, allocations: 43.59 kB / 381.2 MB, free: 68.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.2409, allocations: 241.2 kB / 381.4 MB, free: 67.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2409, allocations: 0 / 381.4 MB, free: 67.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002362/0.2432, allocations: 1.41 MB / 382.8 MB, free: 66.75 MB / 330.7 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.003383/0.2466, allocations: 1.923 MB / 384.8 MB, free: 65.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2476, allocations: 0.9151 MB / 385.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2477, allocations: 4 kB / 385.7 MB, free: 64.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.2481, allocations: 337.5 kB / 386 MB, free: 64.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.2489, allocations: 363.9 kB / 386.4 MB, free: 64.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.2507, allocations: 1.339 MB / 387.7 MB, free: 62.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.2508, allocations: 172.5 kB / 387.9 MB, free: 62.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.2512, allocations: 174.5 kB / 388 MB, free: 62.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2513, allocations: 75.55 kB / 388.1 MB, free: 62.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2513, allocations: 0 / 388.1 MB, free: 62.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03768/0.289, allocations: 51.56 MB / 439.7 MB, free: 12.14 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.935920151881874]