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.0009326/0.0009326, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001022/0.001022, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8831/0.8831, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.532e-06/1.532e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.15e-05, allocations: 7.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0428/0.04282, allocations: 58.84 MB / 383.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.04742, allocations: 4.97 MB / 388.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.04775, allocations: 7.938 kB / 388.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.04854, allocations: 341.8 kB / 388.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.04921, allocations: 0.5317 MB / 389.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01563/0.06484, allocations: 7.535 MB / 396.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.06645, allocations: 1.566 MB / 398.3 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.0667, allocations: 141.5 kB / 398.4 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009251/0.06762, allocations: 0.8455 MB / 399.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.06819, allocations: 0.5415 MB / 399.8 MB, free: 4.332 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-05/0.06829, allocations: 80 kB / 399.9 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/0.08135, allocations: 9.586 MB / 409.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004278/0.08177, allocations: 343.2 kB / 409.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.08226, allocations: 339.4 kB / 410.2 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.09547, allocations: 7.152 MB / 417.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09548, allocations: 3.938 kB / 417.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09548, allocations: 4 kB / 417.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.09549, allocations: 0 / 417.3 MB, free: 2.809 MB / 378.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.003412/0.0989, allocations: 1.525 MB / 418.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.09895, allocations: 11.98 kB / 418.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.09905, allocations: 110.4 kB / 419 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.09934, allocations: 95.5 kB / 419.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.09983, allocations: 375.7 kB / 419.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.09986, allocations: 45.31 kB / 419.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.09993, allocations: 71.95 kB / 419.5 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1012, allocations: 1.216 MB / 420.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1012, allocations: 0 / 420.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.1013, allocations: 28 kB / 420.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1013, allocations: 16 kB / 420.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1027, allocations: 1.02 MB / 421.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006884/0.1096, allocations: 4.136 MB / 426 MB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1106, allocations: 0.7038 MB / 426.7 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.111, allocations: 402.9 kB / 427.1 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00497/0.116, allocations: 2.604 MB / 429.7 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.116, allocations: 51.22 kB / 429.7 MB, free: 6.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.116, allocations: 0 / 429.7 MB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005311/0.1213, allocations: 3.144 MB / 432.9 MB, free: 2.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1214, allocations: 64.41 kB / 432.9 MB, free: 2.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1216, allocations: 360.4 kB / 433.3 MB, free: 2.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.1217, allocations: 45.64 kB / 433.3 MB, free: 2.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1218, allocations: 241.2 kB / 433.6 MB, free: 2.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.122, allocations: 329.2 kB / 433.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1221, allocations: 158.6 kB / 434 MB, free: 1.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1222, allocations: 358.8 kB / 434.4 MB, free: 1.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.1226, allocations: 369.8 kB / 434.7 MB, free: 1.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.1232, allocations: 496.2 kB / 435.2 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.1245, allocations: 0.8982 MB / 436.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1245, allocations: 0 / 436.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001507/0.126, allocations: 1.113 MB / 437.2 MB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1261, allocations: 8 kB / 437.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1261, allocations: 8.219 kB / 437.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.1265, allocations: 171.3 kB / 437.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1269, allocations: 191.7 kB / 437.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1288, allocations: 3.906 MB / 441.5 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.129, allocations: 23.94 kB / 441.5 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.1291, allocations: 47.97 kB / 441.6 MB, free: 9.836 MB / 410.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.0002838/0.1294, allocations: 222.9 kB / 441.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.1296, allocations: 67.66 kB / 441.9 MB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.1313, allocations: 1.273 MB / 443.1 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1313, allocations: 11.94 kB / 443.1 MB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1313, allocations: 0 / 443.1 MB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.1325, allocations: 1.316 MB / 444.5 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.1345, allocations: 1.811 MB / 446.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1345, allocations: 4.062 kB / 446.3 MB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.1348, allocations: 159.8 kB / 446.4 MB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/0.1357, allocations: 297.3 kB / 446.7 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.1358, allocations: 27.98 kB / 446.8 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000511/0.1363, allocations: 1.289 MB / 448 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1363, allocations: 4.188 kB / 448 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.1379, allocations: 1.421 MB / 449.5 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.138, allocations: 55.66 kB / 449.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.138, allocations: 20 kB / 449.5 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.1383, allocations: 31.97 kB / 449.6 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.1384, allocations: 56.89 kB / 449.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.1384, allocations: 43.97 kB / 449.7 MB, free: 1.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.1386, allocations: 279 kB / 449.9 MB, free: 1.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1386, allocations: 0 / 449.9 MB, free: 1.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1518/0.2904, allocations: 1.421 MB / 451.4 MB, free: 119.9 MB / 410.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.006955/0.2974, allocations: 3.762 MB / 455.1 MB, free: 119.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.2989, allocations: 1.113 MB / 456.2 MB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2989, allocations: 0 / 456.2 MB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.2993, allocations: 479.4 kB / 456.7 MB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3004, allocations: 398 kB / 457.1 MB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008086/0.3085, allocations: 6.973 MB / 464.1 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.3087, allocations: 311.9 kB / 464.4 MB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.3092, allocations: 203.6 kB / 464.6 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.3094, allocations: 233.8 kB / 464.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3094, allocations: 0 / 464.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.371, allocations: 59.46 MB / 0.512 GB, free: 54.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.077/9.448, allocations: 4.062 kB / 0.512 GB, free: 54.44 MB / 410.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 27.889418080449104]