Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001299/0.001299, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.000949/0.000949, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.924/0.924, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.642e-05, allocations: 2.312 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02139/0.02142, allocations: 25.19 MB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.02365, allocations: 2.42 MB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.02379, allocations: 7.938 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.02422, allocations: 131.1 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.02465, allocations: 393.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01571/0.04036, allocations: 6.44 MB / 285.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.04156, allocations: 1.146 MB / 286.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.04177, allocations: 89.88 kB / 286.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/0.0468, allocations: 3.545 MB / 290.4 MB, free: 0 / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.04718, allocations: 375 kB / 290.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.04724, allocations: 60 kB / 290.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00947/0.05671, allocations: 8.803 MB / 299.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.0569, allocations: 243.4 kB / 299.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.05708, allocations: 239.5 kB / 300.1 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008585/0.06567, allocations: 6.103 MB / 306.2 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.06567, allocations: 0 / 306.2 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06568, allocations: 0 / 306.2 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.06568, allocations: 0 / 306.2 MB, free: 172 kB / 282.7 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.002636/0.06832, allocations: 1.377 MB / 307.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.06837, allocations: 15.98 kB / 307.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.06867, allocations: 120.1 kB / 307.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.06905, allocations: 299.1 kB / 308 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.06907, allocations: 37 kB / 308 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.06913, allocations: 44 kB / 308.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.06988, allocations: 0.6512 MB / 308.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.06989, allocations: 8 kB / 308.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.06993, allocations: 16 kB / 308.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.06994, allocations: 12 kB / 308.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.07052, allocations: 369.6 kB / 309.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.07664, allocations: 3.496 MB / 312.6 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.07727, allocations: 317.1 kB / 312.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.07743, allocations: 129.1 kB / 313.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004656/0.08209, allocations: 2.539 MB / 315.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.08212, allocations: 41.89 kB / 315.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.08212, allocations: 0 / 315.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002805/0.08493, allocations: 1.358 MB / 317 MB, free: 5.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.08496, allocations: 63.84 kB / 317.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.08514, allocations: 292.2 kB / 317.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.08518, allocations: 37.7 kB / 317.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.08528, allocations: 260 kB / 317.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.08538, allocations: 198.2 kB / 317.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.0855, allocations: 127.9 kB / 318 MB, free: 4.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.08563, allocations: 0.5157 MB / 318.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.08579, allocations: 109.2 kB / 318.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.0861, allocations: 235.5 kB / 318.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.08665, allocations: 374.4 kB / 319.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.08665, allocations: 4 kB / 319.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009288/0.08758, allocations: 0.5426 MB / 319.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.08759, allocations: 4 kB / 319.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.0876, allocations: 7.984 kB / 319.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.08786, allocations: 87.3 kB / 319.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.08812, allocations: 131.7 kB / 320 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.08988, allocations: 4.385 MB / 324.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.09002, allocations: 12 kB / 324.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.09018, allocations: 31.98 kB / 324.4 MB, free: 13.26 MB / 314.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 (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.0001326/0.09032, allocations: 188.5 kB / 324.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.09052, allocations: 99.27 kB / 324.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/0.09132, allocations: 0.628 MB / 325.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.09133, allocations: 8 kB / 325.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.09133, allocations: 3.984 kB / 325.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/0.09189, allocations: 0.5686 MB / 325.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.09297, allocations: 0.9237 MB / 326.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.09297, allocations: 4 kB / 326.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.09321, allocations: 99.88 kB / 326.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.09365, allocations: 143.5 kB / 327 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.09368, allocations: 19.92 kB / 327.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/0.0942, allocations: 0.9205 MB / 328 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.0942, allocations: 0 / 328 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.09505, allocations: 0.6852 MB / 328.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.09508, allocations: 27.84 kB / 328.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.09511, allocations: 15.98 kB / 328.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.09529, allocations: 27.92 kB / 328.7 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.09533, allocations: 36.42 kB / 328.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.09537, allocations: 27.98 kB / 328.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.0955, allocations: 217.1 kB / 329 MB, free: 8.395 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0955, allocations: 8.062 kB / 329 MB, free: 8.387 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002505/0.09801, allocations: 1.275 MB / 330.3 MB, free: 7.109 MB / 314.7 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.003638/0.1016, allocations: 1.804 MB / 332.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.1025, allocations: 0.6932 MB / 332.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1025, allocations: 4 kB / 332.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.1028, allocations: 199.1 kB / 333 MB, free: 4.363 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.1034, allocations: 244.2 kB / 333.2 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1049, allocations: 0.915 MB / 334.1 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.105, allocations: 126.9 kB / 334.3 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.1053, allocations: 119.3 kB / 334.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1054, allocations: 52.48 kB / 334.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1054, allocations: 0 / 334.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of Templates: time 0.1338/0.2392, allocations: 45.43 MB / 379.9 MB, free: 65.95 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 8.280315211974084]