Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 59.91 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09808, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2494/0.3475, allocations: 65.99 MB / 492.7 MB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007381/0.3549, allocations: 5.485 MB / 498.1 MB, free: 8.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.3553, allocations: 5.5 kB / 498.2 MB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3563, allocations: 365.9 kB / 498.5 MB, free: 8.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3574, allocations: 0.5195 MB / 499 MB, free: 8.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02141/0.3788, allocations: 7.476 MB / 0.4946 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.3812, allocations: 1.547 MB / 0.4961 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.3816, allocations: 156.9 kB / 0.4963 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.3829, allocations: 0.6308 MB / 0.4969 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.384, allocations: 0.6034 MB / 0.4975 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.3842, allocations: 84 kB / 0.4976 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.4038, allocations: 10.4 MB / 0.5077 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.4043, allocations: 323.2 kB / 0.508 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006357/0.4049, allocations: 446.3 kB / 0.5085 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.4193, allocations: 5.966 MB / 0.5143 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4193, allocations: 0 / 0.5143 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4193, allocations: 4 kB / 0.5143 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4193, allocations: 0 / 0.5143 GB, free: 13.11 MB / 430.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.003626/0.4229, allocations: 1.609 MB / 0.5159 GB, free: 11.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.423, allocations: 16.02 kB / 0.5159 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.4231, allocations: 102.5 kB / 0.516 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.4235, allocations: 91.56 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.4243, allocations: 456.9 kB / 0.5165 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.4243, allocations: 49.31 kB / 0.5166 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4244, allocations: 63.95 kB / 0.5166 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.4262, allocations: 0.8107 MB / 0.5174 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.4262, allocations: 7.938 kB / 0.5174 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.4263, allocations: 24 kB / 0.5174 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4263, allocations: 16 kB / 0.5175 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.4282, allocations: 1.024 MB / 0.5185 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.4461, allocations: 12.78 MB / 0.5309 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.4479, allocations: 0.7061 MB / 0.5316 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/0.4485, allocations: 386.6 kB / 0.532 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/0.4643, allocations: 12.24 MB / 0.5439 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.4643, allocations: 43.53 kB / 0.544 GB, free: 10.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.4643, allocations: 4 kB / 0.544 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009789/0.4741, allocations: 3.379 MB / 0.5473 GB, free: 6.586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.4742, allocations: 64.41 kB / 0.5474 GB, free: 6.512 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.4746, allocations: 352.5 kB / 0.5477 GB, free: 6.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.4747, allocations: 41.7 kB / 0.5477 GB, free: 6.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4749, allocations: 241.2 kB / 0.548 GB, free: 5.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.4751, allocations: 325.2 kB / 0.5483 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.4754, allocations: 162.6 kB / 0.5484 GB, free: 5.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4756, allocations: 370.8 kB / 0.5488 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.4762, allocations: 369.8 kB / 0.5491 GB, free: 4.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.4772, allocations: 484.2 kB / 0.5496 GB, free: 4.148 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.4789, allocations: 0.906 MB / 0.5505 GB, free: 3.211 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4789, allocations: 0 / 0.5505 GB, free: 3.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002594/0.4815, allocations: 1.117 MB / 0.5516 GB, free: 2.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4816, allocations: 4.625 kB / 0.5516 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4816, allocations: 4.281 kB / 0.5516 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/0.4824, allocations: 171.3 kB / 0.5517 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.4831, allocations: 191.7 kB / 0.5519 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.4864, allocations: 4.117 MB / 0.5559 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.4869, allocations: 23.98 kB / 0.556 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.487, allocations: 43.98 kB / 0.556 GB, free: 13.2 MB / 478.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.0003847/0.4874, allocations: 233.8 kB / 0.5562 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.4878, allocations: 63.67 kB / 0.5563 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.4903, allocations: 1.281 MB / 0.5575 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4903, allocations: 8 kB / 0.5576 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4903, allocations: 0 / 0.5576 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.4923, allocations: 1.32 MB / 0.5588 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.4957, allocations: 1.96 MB / 0.5608 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4957, allocations: 0 / 0.5608 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.4964, allocations: 163.8 kB / 0.5609 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.4982, allocations: 297.3 kB / 0.5612 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/0.4982, allocations: 31.97 kB / 0.5612 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.4991, allocations: 1.289 MB / 0.5625 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4991, allocations: 4.188 kB / 0.5625 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.5018, allocations: 1.421 MB / 0.5639 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.502, allocations: 124.9 kB / 0.564 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5021, allocations: 28.06 kB / 0.564 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.5026, allocations: 31.98 kB / 0.5641 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.5027, allocations: 52.92 kB / 0.5641 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5028, allocations: 51.89 kB / 0.5642 GB, free: 4.508 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003336/0.5032, allocations: 275 kB / 0.5644 GB, free: 4.242 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5032, allocations: 0 / 0.5644 GB, free: 4.242 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003929/0.5071, allocations: 1.427 MB / 0.5658 GB, free: 2.812 MB / 478.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.009008/0.5161, allocations: 3.611 MB / 0.5693 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.5185, allocations: 1.109 MB / 0.5704 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5185, allocations: 4 kB / 0.5704 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009572/0.5195, allocations: 475.9 kB / 0.5709 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5214, allocations: 394 kB / 0.5713 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.5344, allocations: 7.082 MB / 0.5782 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.535, allocations: 0.9128 MB / 0.5791 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007832/0.5358, allocations: 213.1 kB / 0.5793 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.5361, allocations: 231.3 kB / 0.5795 GB, free: 4.516 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5361, allocations: 0 / 0.5795 GB, free: 4.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/0.8323, allocations: 57.17 MB / 0.6353 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.21, allocations: 7.922 kB / 0.6353 GB, free: 148.6 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 42.19875344214961]