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.001518/0.001518, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2171, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0717/0.2888, allocations: 65.7 MB / 474.5 MB, free: 15.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.2958, allocations: 5.468 MB / 480 MB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.296, allocations: 8 kB / 480 MB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000885/0.2969, allocations: 358 kB / 480.4 MB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.2978, allocations: 0.5011 MB / 480.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.3148, allocations: 7.441 MB / 488.3 MB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.3167, allocations: 1.547 MB / 489.9 MB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.3171, allocations: 216.9 kB / 490.1 MB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008348/0.3179, allocations: 0.623 MB / 490.7 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.3187, allocations: 0.5645 MB / 491.3 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3188, allocations: 84 kB / 491.3 MB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01809/0.3369, allocations: 10.23 MB / 0.4898 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.3374, allocations: 323.2 kB / 0.4901 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.338, allocations: 442.4 kB / 0.4905 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.3512, allocations: 5.97 MB / 0.4964 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3513, allocations: 4 kB / 0.4964 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3513, allocations: 0 / 0.4964 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3513, 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.003773/0.3551, allocations: 1.612 MB / 0.498 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3551, allocations: 12.03 kB / 0.498 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.3553, allocations: 102.5 kB / 0.4981 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.3557, allocations: 91.5 kB / 0.4982 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.3564, allocations: 441.1 kB / 0.4986 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.3564, allocations: 49.31 kB / 0.4986 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3565, allocations: 67.95 kB / 0.4987 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.3583, allocations: 0.8068 MB / 0.4995 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.3584, allocations: 3.938 kB / 0.4995 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.3585, allocations: 28 kB / 0.4995 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3585, allocations: 15.98 kB / 0.4995 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3604, allocations: 1.036 MB / 0.5005 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.3786, allocations: 12.76 MB / 0.513 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3804, allocations: 0.7334 MB / 0.5137 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.381, allocations: 418.6 kB / 0.5141 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01579/0.3968, allocations: 12.24 MB / 0.5261 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.3969, allocations: 43.59 kB / 0.5261 GB, free: 10.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.3969, allocations: 3.938 kB / 0.5261 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009638/0.4066, allocations: 3.377 MB / 0.5294 GB, free: 7.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4067, allocations: 60.41 kB / 0.5295 GB, free: 7.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.4071, allocations: 356.5 kB / 0.5298 GB, free: 6.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.4072, allocations: 45.7 kB / 0.5299 GB, free: 6.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.4074, allocations: 241.2 kB / 0.5301 GB, free: 6.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.4077, allocations: 317.2 kB / 0.5304 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.4079, allocations: 174.5 kB / 0.5306 GB, free: 5.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4081, allocations: 362.8 kB / 0.5309 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.4087, allocations: 369.8 kB / 0.5312 GB, free: 5.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.4097, allocations: 492.2 kB / 0.5317 GB, free: 4.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.4114, allocations: 0.8982 MB / 0.5326 GB, free: 3.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.4114, allocations: 4 kB / 0.5326 GB, free: 3.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002567/0.414, allocations: 1.117 MB / 0.5337 GB, free: 2.625 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.414, allocations: 8.062 kB / 0.5337 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.414, allocations: 4 kB / 0.5337 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/0.4148, allocations: 167.2 kB / 0.5339 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.4156, allocations: 187.8 kB / 0.534 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1764/0.592, allocations: 4.11 MB / 0.5381 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.5925, allocations: 22.66 kB / 0.5381 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5926, allocations: 45.81 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.0003353/0.593, allocations: 227.2 kB / 0.5383 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.5934, allocations: 64.56 kB / 0.5384 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.5958, allocations: 1.285 MB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5958, allocations: 9.594 kB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.5958, allocations: 0 / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/0.5974, allocations: 1.324 MB / 0.541 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.6, allocations: 1.973 MB / 0.5429 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6, allocations: 4.859 kB / 0.5429 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.6006, allocations: 163 kB / 0.543 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.6022, allocations: 297.7 kB / 0.5433 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.6022, allocations: 29.56 kB / 0.5434 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004383/0.6027, allocations: 1.293 MB / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6027, allocations: 0 / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6047, allocations: 1.42 MB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.6048, allocations: 134.5 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.6049, allocations: 15.97 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.6054, allocations: 31.25 kB / 0.5462 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.6055, allocations: 56.7 kB / 0.5462 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.6055, allocations: 41.97 kB / 0.5463 GB, free: 125.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.6058, allocations: 283 kB / 0.5465 GB, free: 125.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6058, allocations: 0 / 0.5465 GB, free: 125.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002766/0.6085, 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.006588/0.6151, allocations: 3.613 MB / 0.5515 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.6168, allocations: 1.168 MB / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6169, allocations: 0 / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006961/0.6176, allocations: 495.1 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.001622/0.6192, allocations: 385.7 kB / 0.5534 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/0.6278, allocations: 7.078 MB / 0.5604 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6281, allocations: 0.9089 MB / 0.5612 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006049/0.6287, allocations: 215.5 kB / 0.5615 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.629, allocations: 223.4 kB / 0.5617 GB, free: 114.2 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.629, allocations: 0 / 0.5617 GB, free: 114.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.7081, allocations: 57.05 MB / 0.6174 GB, free: 57.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.54, allocations: 7.797 kB / 0.6174 GB, free: 57.32 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 & /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 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches