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.00129/0.00129, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001429/0.001429, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.414/1.414, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09147, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2563/0.3477, allocations: 66 MB / 492.3 MB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007757/0.3555, allocations: 5.492 MB / 497.8 MB, free: 8.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.3561, allocations: 9.438 kB / 497.8 MB, free: 8.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3573, allocations: 362.5 kB / 498.2 MB, free: 8.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3585, allocations: 0.5156 MB / 498.7 MB, free: 7.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02097/0.3795, allocations: 7.468 MB / 0.4943 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.3816, allocations: 1.551 MB / 0.4958 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.382, allocations: 164.8 kB / 0.496 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.3831, allocations: 0.6386 MB / 0.4966 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.384, allocations: 0.6034 MB / 0.4972 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.3842, allocations: 84 kB / 0.4973 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01958/0.4038, allocations: 10.4 MB / 0.5074 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.4043, allocations: 331.1 kB / 0.5077 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.4051, allocations: 434.4 kB / 0.5081 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4196, allocations: 5.978 MB / 0.514 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4196, allocations: 0 / 0.514 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4196, allocations: 4 kB / 0.514 GB, free: 12.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4196, allocations: 0 / 0.514 GB, free: 12.75 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.003933/0.4236, allocations: 1.612 MB / 0.5156 GB, free: 11.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4236, allocations: 12.03 kB / 0.5156 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.4238, allocations: 110.5 kB / 0.5157 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.4242, allocations: 83.52 kB / 0.5158 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.4248, allocations: 453 kB / 0.5162 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.4249, allocations: 46.94 kB / 0.5162 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.425, allocations: 63.95 kB / 0.5163 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.4268, allocations: 0.8147 MB / 0.5171 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.4268, allocations: 0 / 0.5171 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.4268, allocations: 28 kB / 0.5171 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.4269, allocations: 16 kB / 0.5171 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.4288, allocations: 1.02 MB / 0.5181 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.4466, allocations: 12.79 MB / 0.5306 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.4484, allocations: 0.7102 MB / 0.5313 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.449, allocations: 386.6 kB / 0.5317 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/0.4648, allocations: 12.23 MB / 0.5436 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.4649, allocations: 43.22 kB / 0.5437 GB, free: 9.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.056e-06/0.4649, allocations: 4 kB / 0.5437 GB, free: 9.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01022/0.4751, allocations: 3.382 MB / 0.547 GB, free: 6.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4751, allocations: 60.41 kB / 0.547 GB, free: 6.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.4756, allocations: 356.5 kB / 0.5474 GB, free: 5.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4757, allocations: 41.7 kB / 0.5474 GB, free: 5.762 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4759, allocations: 241.2 kB / 0.5476 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.4762, allocations: 329.2 kB / 0.548 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.4765, allocations: 162.5 kB / 0.5481 GB, free: 5.031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4766, allocations: 358.8 kB / 0.5485 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.4772, allocations: 369.8 kB / 0.5488 GB, free: 4.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.4783, allocations: 0.4923 MB / 0.5493 GB, free: 3.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.4801, allocations: 0.8982 MB / 0.5502 GB, free: 2.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4801, allocations: 0 / 0.5502 GB, free: 2.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002763/0.4829, allocations: 1.117 MB / 0.5513 GB, free: 1.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4829, allocations: 8 kB / 0.5513 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4829, allocations: 4 kB / 0.5513 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.4838, allocations: 163.6 kB / 0.5514 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008295/0.4846, allocations: 199.7 kB / 0.5516 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.488, allocations: 4.117 MB / 0.5556 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.4885, allocations: 20.03 kB / 0.5557 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4886, allocations: 43.98 kB / 0.5557 GB, free: 12.84 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.000395/0.489, allocations: 225.6 kB / 0.5559 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/0.4894, allocations: 63.67 kB / 0.556 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.492, allocations: 1.281 MB / 0.5572 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.492, allocations: 8 kB / 0.5572 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.492, allocations: 0 / 0.5572 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002118/0.4941, allocations: 1.32 MB / 0.5585 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.4976, allocations: 1.96 MB / 0.5604 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4977, allocations: 4 kB / 0.5604 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.4984, allocations: 163.8 kB / 0.5606 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.5002, allocations: 293.3 kB / 0.5609 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.5003, allocations: 31.98 kB / 0.5609 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009171/0.5013, allocations: 1.285 MB / 0.5622 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5013, allocations: 0 / 0.5622 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.5041, allocations: 1.429 MB / 0.5636 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.5043, allocations: 136.8 kB / 0.5637 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5044, allocations: 16 kB / 0.5637 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.5049, allocations: 31.97 kB / 0.5637 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.505, allocations: 56.92 kB / 0.5638 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5051, allocations: 47.91 kB / 0.5638 GB, free: 4.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003584/0.5055, allocations: 283 kB / 0.5641 GB, free: 3.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5055, allocations: 0 / 0.5641 GB, free: 3.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004004/0.5095, allocations: 1.423 MB / 0.5655 GB, free: 2.465 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.00925/0.5188, allocations: 3.602 MB / 0.569 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.5212, allocations: 1.105 MB / 0.5701 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5212, allocations: 4.125 kB / 0.5701 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5222, allocations: 483.1 kB / 0.5706 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.5243, allocations: 387 kB / 0.5709 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.5375, allocations: 7.081 MB / 0.5778 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.538, allocations: 0.9089 MB / 0.5787 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000745/0.5388, allocations: 209.1 kB / 0.5789 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.5392, allocations: 231.3 kB / 0.5791 GB, free: 4.184 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5392, allocations: 0 / 0.5791 GB, free: 4.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/0.8372, allocations: 57.13 MB / 0.6349 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.89, allocations: 8.641 kB / 0.6349 GB, free: 148.2 MB / 0.5137 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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: 41.493192904861644]