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.001067/0.001067, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2636, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06943/0.3331, allocations: 65.7 MB / 474.5 MB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006882/0.34, allocations: 5.461 MB / 479.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.3406, allocations: 8 kB / 479.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3417, allocations: 345.9 kB / 480.3 MB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3429, allocations: 0.5127 MB / 480.8 MB, free: 9.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02101/0.3639, allocations: 7.435 MB / 488.2 MB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.3658, allocations: 1.543 MB / 489.8 MB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.3662, allocations: 220.8 kB / 490 MB, free: 52 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3674, allocations: 0.623 MB / 490.6 MB, free: 15.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/0.3683, allocations: 0.5645 MB / 491.2 MB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.3685, allocations: 84 kB / 491.3 MB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.3865, allocations: 10.23 MB / 0.4897 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.387, allocations: 319.2 kB / 0.49 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008781/0.3879, allocations: 442.3 kB / 0.4905 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.4011, allocations: 5.949 MB / 0.4963 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.4012, allocations: 8 kB / 0.4963 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.4012, allocations: 7.922 kB / 0.4963 GB, free: 13.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4012, allocations: 0 / 0.4963 GB, free: 13.81 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.00394/0.4051, allocations: 1.56 MB / 0.4978 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4052, allocations: 12.03 kB / 0.4978 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.4053, allocations: 106.5 kB / 0.4979 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.4058, allocations: 87.17 kB / 0.498 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.4064, allocations: 440.9 kB / 0.4984 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.4064, allocations: 57.25 kB / 0.4985 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-05/0.4065, allocations: 60 kB / 0.4985 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.4082, allocations: 0.8029 MB / 0.4993 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.4082, allocations: 11.89 kB / 0.4993 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.4083, allocations: 28 kB / 0.4994 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4083, allocations: 12 kB / 0.4994 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.4101, allocations: 1.032 MB / 0.5004 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.4267, allocations: 12.79 MB / 0.5129 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.4283, allocations: 0.7338 MB / 0.5136 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.4289, allocations: 406.6 kB / 0.514 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.4432, allocations: 12.26 MB / 0.5259 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.4433, allocations: 39.22 kB / 0.526 GB, free: 10.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4433, allocations: 0 / 0.526 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009443/0.4527, allocations: 3.376 MB / 0.5293 GB, free: 7.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.4528, allocations: 68.33 kB / 0.5293 GB, free: 7.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.4532, allocations: 348.5 kB / 0.5297 GB, free: 6.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.4533, allocations: 49.7 kB / 0.5297 GB, free: 6.801 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4535, allocations: 240.6 kB / 0.53 GB, free: 6.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4537, allocations: 303.6 kB / 0.5302 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.4539, allocations: 166.5 kB / 0.5304 GB, free: 6.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4541, allocations: 362.8 kB / 0.5307 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.4546, allocations: 365.8 kB / 0.5311 GB, free: 5.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.4555, allocations: 0.4885 MB / 0.5316 GB, free: 4.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.4572, allocations: 0.902 MB / 0.5325 GB, free: 3.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4572, allocations: 4 kB / 0.5325 GB, free: 3.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002429/0.4596, allocations: 1.121 MB / 0.5336 GB, free: 2.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4596, allocations: 8 kB / 0.5336 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4597, allocations: 0 / 0.5336 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/0.4605, allocations: 159.3 kB / 0.5337 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.4613, allocations: 199.7 kB / 0.5339 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2122/0.6735, allocations: 4.105 MB / 0.5379 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.6741, allocations: 20.44 kB / 0.5379 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.6743, allocations: 46.64 kB / 0.538 GB, free: 130.1 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.0004749/0.6748, allocations: 226.7 kB / 0.5382 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/0.6753, allocations: 61.64 kB / 0.5383 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.6782, allocations: 1.284 MB / 0.5395 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6782, allocations: 9.766 kB / 0.5395 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6782, allocations: 0 / 0.5395 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/0.6799, allocations: 1.324 MB / 0.5408 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.683, allocations: 1.962 MB / 0.5427 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.683, allocations: 0 / 0.5427 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.6837, allocations: 162.8 kB / 0.5429 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.6854, allocations: 300.1 kB / 0.5432 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.6855, allocations: 27.33 kB / 0.5432 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/0.6861, allocations: 1.292 MB / 0.5445 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6861, allocations: 0.875 kB / 0.5445 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.6883, allocations: 1.42 MB / 0.5458 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.6885, allocations: 127.8 kB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6887, allocations: 24.89 kB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.6893, allocations: 27.52 kB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.6893, allocations: 52.98 kB / 0.5461 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.6894, allocations: 50.42 kB / 0.5461 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.6897, allocations: 286.3 kB / 0.5464 GB, free: 125.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6897, allocations: 0.8125 kB / 0.5464 GB, free: 125.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003565/0.6933, allocations: 1.407 MB / 0.5478 GB, free: 125.5 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.008104/0.7014, allocations: 3.597 MB / 0.5513 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.7035, allocations: 1.166 MB / 0.5524 GB, free: 123.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7035, allocations: 7.344 kB / 0.5524 GB, free: 123.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007998/0.7043, allocations: 489 kB / 0.5529 GB, free: 123.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.7062, allocations: 388.9 kB / 0.5533 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7168, allocations: 7.041 MB / 0.5601 GB, free: 115.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.7173, allocations: 0.9089 MB / 0.561 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007503/0.718, allocations: 215.4 kB / 0.5612 GB, free: 114.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.7184, allocations: 227.3 kB / 0.5614 GB, free: 114.4 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7184, allocations: 0 / 0.5614 GB, free: 114.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09418/0.8126, allocations: 57.36 MB / 0.6175 GB, free: 57.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.56, allocations: 19.72 kB / 0.6175 GB, free: 57.16 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.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