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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2728, allocations: 50.55 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06407/0.337, allocations: 65.7 MB / 474.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006374/0.3434, allocations: 5.465 MB / 479.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3437, allocations: 11.94 kB / 480 MB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.3448, allocations: 361.9 kB / 480.3 MB, free: 9.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008292/0.3456, allocations: 0.5128 MB / 480.8 MB, free: 9.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.3626, allocations: 7.461 MB / 488.3 MB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.3645, allocations: 1.547 MB / 489.8 MB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.3648, allocations: 212.8 kB / 490 MB, free: 15.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.3656, allocations: 0.6308 MB / 490.7 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.3663, allocations: 0.5645 MB / 491.2 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3664, allocations: 88 kB / 491.3 MB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.3842, allocations: 10.23 MB / 0.4898 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.3847, allocations: 331.2 kB / 0.4901 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.3853, allocations: 430.5 kB / 0.4905 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.397, allocations: 5.974 MB / 0.4963 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3971, allocations: 0 / 0.4963 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3971, allocations: 4 kB / 0.4964 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3971, allocations: 0 / 0.4964 GB, free: 13.71 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.003266/0.4004, allocations: 1.612 MB / 0.4979 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4004, allocations: 12.03 kB / 0.4979 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.4005, allocations: 106.5 kB / 0.498 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.401, allocations: 91.5 kB / 0.4981 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.4016, allocations: 445.1 kB / 0.4986 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.4016, allocations: 49.31 kB / 0.4986 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4018, allocations: 63.95 kB / 0.4987 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4034, allocations: 0.8029 MB / 0.4994 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.4034, allocations: 7.984 kB / 0.4995 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.4035, allocations: 24 kB / 0.4995 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.4035, allocations: 16 kB / 0.4995 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.4053, allocations: 1.028 MB / 0.5005 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.4214, allocations: 12.8 MB / 0.513 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.4231, allocations: 0.7376 MB / 0.5137 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.4237, allocations: 416.8 kB / 0.5141 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.4381, allocations: 12.25 MB / 0.5261 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.4382, allocations: 43.22 kB / 0.5261 GB, free: 10.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.875e-06/0.4382, allocations: 0 / 0.5261 GB, free: 10.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009372/0.4476, allocations: 3.385 MB / 0.5294 GB, free: 7.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4477, allocations: 68.39 kB / 0.5295 GB, free: 7.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.4481, allocations: 348.5 kB / 0.5298 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.4482, allocations: 49.7 kB / 0.5299 GB, free: 6.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4484, allocations: 245.2 kB / 0.5301 GB, free: 6.379 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.4486, allocations: 321.2 kB / 0.5304 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4489, allocations: 162.6 kB / 0.5306 GB, free: 5.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.449, allocations: 362.8 kB / 0.5309 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.4495, allocations: 365.8 kB / 0.5313 GB, free: 5.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008711/0.4504, allocations: 0.4923 MB / 0.5317 GB, free: 4.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.4521, allocations: 0.8982 MB / 0.5326 GB, free: 3.715 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4521, allocations: 4 kB / 0.5326 GB, free: 3.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002419/0.4545, allocations: 1.117 MB / 0.5337 GB, free: 2.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4545, allocations: 4 kB / 0.5337 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4546, allocations: 4 kB / 0.5337 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.4553, allocations: 163.5 kB / 0.5339 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.4561, allocations: 191.7 kB / 0.5341 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1927/0.6488, allocations: 4.111 MB / 0.5381 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.6494, allocations: 22.33 kB / 0.5381 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6495, allocations: 45.66 kB / 0.5381 GB, free: 130 MB / 462.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.0003827/0.6499, allocations: 231.7 kB / 0.5384 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.6503, allocations: 61.25 kB / 0.5384 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.6529, allocations: 1.281 MB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6529, allocations: 7.656 kB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6529, allocations: 1.922 kB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.6544, allocations: 1.323 MB / 0.541 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6571, allocations: 1.974 MB / 0.5429 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6572, allocations: 0 / 0.5429 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.6578, allocations: 165.4 kB / 0.543 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.6594, allocations: 296.4 kB / 0.5433 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.6595, allocations: 27.7 kB / 0.5434 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004741/0.66, allocations: 1.289 MB / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.66, allocations: 4.625 kB / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.662, allocations: 1.419 MB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.6621, allocations: 124 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.6622, allocations: 33.44 kB / 0.5462 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.6627, allocations: 27.19 kB / 0.5462 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.6628, allocations: 51.06 kB / 0.5462 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.6629, allocations: 53.22 kB / 0.5463 GB, free: 125.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.6631, allocations: 282.7 kB / 0.5466 GB, free: 125.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6631, allocations: 0 / 0.5466 GB, free: 125.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003234/0.6663, allocations: 1.429 MB / 0.5479 GB, free: 125.4 MB / 462.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.006694/0.673, allocations: 3.6 MB / 0.5515 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.6749, allocations: 1.169 MB / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6749, allocations: 5.594 kB / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.6756, allocations: 491.9 kB / 0.5531 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.6773, allocations: 394.5 kB / 0.5535 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.686, allocations: 7.077 MB / 0.5604 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.6863, allocations: 0.9128 MB / 0.5613 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005889/0.6869, allocations: 205.8 kB / 0.5615 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.6872, allocations: 231.3 kB / 0.5617 GB, free: 114.2 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6872, allocations: 0 / 0.5617 GB, free: 114.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/0.7602, allocations: 57.05 MB / 0.6174 GB, free: 57.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.48, allocations: 3.859 kB / 0.6174 GB, free: 57.35 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches