Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008151/0.0008152, allocations: 94.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000929/0.000929, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.7 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001944/0.0001946, allocations: 8 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.07876, allocations: 51.52 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1864/0.2651, allocations: 51.23 MB / 410.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.2706, allocations: 5.211 MB / 415.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.2708, allocations: 3.281 kB / 415.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.2714, allocations: 220.2 kB / 416 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.2719, allocations: 354.8 kB / 416.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.2876, allocations: 5.953 MB / 422.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2893, allocations: 1.602 MB / 423.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.2895, allocations: 122.6 kB / 424 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/0.2956, allocations: 3.647 MB / 427.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.2962, allocations: 410.5 kB / 428.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2964, allocations: 24 kB / 428.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.016/0.3124, allocations: 10.08 MB / 438.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.3126, allocations: 191.5 kB / 438.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.313, allocations: 292.6 kB / 438.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009189/0.3222, allocations: 5.578 MB / 444.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3223, allocations: 4 kB / 444.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3223, allocations: 0 / 444.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3223, allocations: 0 / 444.2 MB, free: 6.246 MB / 350.1 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.002642/0.3249, allocations: 1.249 MB / 445.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.325, allocations: 12.03 kB / 445.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.773e-05/0.3251, allocations: 86.52 kB / 445.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.3253, allocations: 59.42 kB / 445.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.3258, allocations: 365.9 kB / 446 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3258, allocations: 33.81 kB / 446 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.3259, allocations: 43.91 kB / 446.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3271, allocations: 0.5843 MB / 446.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3271, allocations: 0 / 446.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.3271, allocations: 20 kB / 446.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3272, allocations: 16 kB / 446.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3284, allocations: 0.7417 MB / 447.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.3425, allocations: 12.03 MB / 459.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3436, allocations: 0.5495 MB / 460 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.344, allocations: 250.1 kB / 460.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.357, allocations: 11.95 MB / 472.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3571, allocations: 43 kB / 472.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.3571, allocations: 0 / 472.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005046/0.3621, allocations: 2.136 MB / 474.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3622, allocations: 55.97 kB / 474.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.3625, allocations: 315 kB / 474.7 MB, free: 3.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3626, allocations: 37.7 kB / 474.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3627, allocations: 204.2 kB / 475 MB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3628, allocations: 193.2 kB / 475.2 MB, free: 2.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.3629, allocations: 49.69 kB / 475.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.363, allocations: 346.8 kB / 475.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3634, allocations: 248.9 kB / 475.8 MB, free: 2.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.364, allocations: 335.4 kB / 476.1 MB, free: 1.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.365, allocations: 0.5956 MB / 476.7 MB, free: 1.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.365, allocations: 4 kB / 476.7 MB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001614/0.3667, allocations: 0.7517 MB / 477.5 MB, free: 284 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3667, allocations: 4 kB / 477.5 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3667, allocations: 7.938 kB / 477.5 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.3671, allocations: 122.7 kB / 477.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.3676, allocations: 115.9 kB / 477.7 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.3698, allocations: 3.279 MB / 481 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.3701, allocations: 36.11 kB / 481 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.3702, allocations: 35.97 kB / 481.1 MB, free: 12.39 MB / 398.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 (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.00021/0.3704, allocations: 190.8 kB / 481.3 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.3707, allocations: 47.53 kB / 481.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.3721, allocations: 0.8149 MB / 482.1 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3721, allocations: 8 kB / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3721, allocations: 3.984 kB / 482.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.3731, allocations: 0.7596 MB / 482.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.375, allocations: 1.298 MB / 484.2 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.375, allocations: 0 / 484.2 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.3754, allocations: 103.8 kB / 484.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/0.3762, allocations: 152.5 kB / 484.4 MB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.3763, allocations: 19.98 kB / 484.5 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003524/0.3766, allocations: 0.6485 MB / 485.1 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3766, allocations: 3.984 kB / 485.1 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3781, allocations: 0.9043 MB / 486 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3782, allocations: 124.7 kB / 486.1 MB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.3783, allocations: 20.08 kB / 486.2 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.3787, allocations: 39.77 kB / 486.2 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3788, allocations: 32.39 kB / 486.2 MB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.3788, allocations: 35.97 kB / 486.3 MB, free: 6.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.3791, allocations: 249.9 kB / 486.5 MB, free: 6.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3791, allocations: 4 kB / 486.5 MB, free: 6.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003082/0.3822, allocations: 1.327 MB / 487.8 MB, free: 5.367 MB / 398.1 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.006917/0.3891, allocations: 3.024 MB / 490.9 MB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.3904, allocations: 0.804 MB / 491.7 MB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3904, allocations: 0 / 491.7 MB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.3909, allocations: 283.2 kB / 491.9 MB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.3923, allocations: 275.4 kB / 492.2 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.4002, allocations: 5.598 MB / 497.8 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4006, allocations: 0.8404 MB / 498.6 MB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.4011, allocations: 148.3 kB / 498.8 MB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.4013, allocations: 155.4 kB / 498.9 MB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4013, allocations: 4 kB / 498.9 MB, free: 9.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2109/0.6123, allocations: 49.59 MB / 0.5357 GB, free: 151.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000121/0.6124, allocations: 268.3 kB / 0.5359 GB, free: 151.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/3.923, allocations: 0 / 0.5359 GB, free: 151.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches