Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0109/0.0109, allocations: 109 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001205/0.001205, allocations: 182.8 kB / 15.95 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.137/2.137, allocations: 194.6 MB / 211.2 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3052/0.3052, allocations: 40.03 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006372, allocations: 12 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1314, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01185/0.1433, allocations: 7.451 MB / 423.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.1663, allocations: 12.87 MB / 436.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.1666, allocations: 0 / 436.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.167, allocations: 51.75 kB / 436.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.1781, allocations: 2.597 MB / 439 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.1788, allocations: 147.7 kB / 439.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01604/0.1949, allocations: 7.161 MB / 446.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.195, allocations: 12.41 kB / 446.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1953, allocations: 131.6 kB / 446.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3226/0.5179, allocations: 13.84 MB / 460.3 MB, free: 41.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.5181, allocations: 6.438 kB / 460.3 MB, free: 41.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.5247, allocations: 2.141 MB / 462.4 MB, free: 41.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5248, allocations: 49.36 kB / 462.5 MB, free: 41.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.525, allocations: 70.73 kB / 462.5 MB, free: 41.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.5283, allocations: 1.021 MB / 463.6 MB, free: 41.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5283, allocations: 0 / 463.6 MB, free: 41.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5283, allocations: 0 / 463.6 MB, free: 41.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5284, allocations: 3.656 kB / 463.6 MB, free: 41.67 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002962/0.5313, allocations: 0.8654 MB / 464.4 MB, free: 41.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5314, allocations: 9.094 kB / 464.4 MB, free: 41.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.5315, allocations: 63.22 kB / 464.5 MB, free: 41.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.5323, allocations: 80.67 kB / 464.6 MB, free: 41.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.5327, allocations: 249.2 kB / 464.8 MB, free: 40.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5327, allocations: 19.09 kB / 464.8 MB, free: 40.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.5328, allocations: 26.38 kB / 464.9 MB, free: 40.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5341, allocations: 475 kB / 465.3 MB, free: 40.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5341, allocations: 3.094 kB / 465.3 MB, free: 40.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.5342, allocations: 13 kB / 465.4 MB, free: 40.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.5342, allocations: 9.594 kB / 465.4 MB, free: 40.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5357, allocations: 0.6868 MB / 466.1 MB, free: 40.75 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.5467, allocations: 4.319 MB / 470.4 MB, free: 37.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.5474, allocations: 164.4 kB / 470.5 MB, free: 37.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/0.5831, allocations: 14.36 MB / 484.9 MB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008661/0.584, allocations: 311.7 kB / 485.2 MB, free: 27.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.076e-06/0.584, allocations: 0 / 485.2 MB, free: 27.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001906/0.5859, allocations: 435.3 kB / 485.6 MB, free: 27.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.5861, allocations: 487.5 kB / 486.1 MB, free: 26.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.5864, allocations: 185.2 kB / 486.3 MB, free: 26.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5864, allocations: 31.7 kB / 486.3 MB, free: 26.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5865, allocations: 185.3 kB / 486.5 MB, free: 26.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.5866, allocations: 104 kB / 486.6 MB, free: 26.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.5867, allocations: 5.906 kB / 486.6 MB, free: 26.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.5867, allocations: 329.4 kB / 486.9 MB, free: 25.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5869, allocations: 63.55 kB / 487 MB, free: 25.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.5873, allocations: 305 kB / 487.3 MB, free: 25.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.5876, allocations: 119.5 kB / 487.4 MB, free: 25.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5876, allocations: 2.719 kB / 487.4 MB, free: 25.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001016/0.5886, allocations: 398.2 kB / 487.8 MB, free: 25.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5887, allocations: 18.05 kB / 487.8 MB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5887, allocations: 8.438 kB / 487.8 MB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.56e-05/0.5888, allocations: 12.69 kB / 487.8 MB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.5894, allocations: 102.9 kB / 487.9 MB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.5894, allocations: 18.23 kB / 487.9 MB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.5898, allocations: 43.09 kB / 488 MB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.5899, allocations: 31.44 kB / 488 MB, free: 25.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.5902, allocations: 163.2 kB / 488.2 MB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.5903, allocations: 30.98 kB / 488.2 MB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5919, allocations: 0.8057 MB / 489 MB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.592, allocations: 7.484 kB / 489 MB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.592, allocations: 2.75 kB / 489 MB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.592, allocations: 5.438 kB / 489 MB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.5935, allocations: 1.208 MB / 490.2 MB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.5935, allocations: 2.062 kB / 490.2 MB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.5938, allocations: 38.05 kB / 490.3 MB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5938, allocations: 7 kB / 490.3 MB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5938, allocations: 10.03 kB / 490.3 MB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.5938, allocations: 7.453 kB / 490.3 MB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5938, allocations: 2.312 kB / 490.3 MB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.5945, allocations: 490.3 kB / 490.8 MB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.5948, allocations: 218.1 kB / 491 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.5949, allocations: 10.42 kB / 491 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.5953, allocations: 15.72 kB / 491 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.5954, allocations: 26.91 kB / 491 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.5954, allocations: 8.094 kB / 491.1 MB, free: 23.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.5959, allocations: 289 kB / 491.3 MB, free: 23.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5959, allocations: 1.062 kB / 491.3 MB, free: 23.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001956/0.5979, allocations: 429.7 kB / 491.8 MB, free: 23.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003247/0.6012, allocations: 2.24 MB / 494 MB, free: 22.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007205/0.602, allocations: 230.6 kB / 494.2 MB, free: 22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.602, allocations: 4.109 kB / 494.2 MB, free: 22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.6022, allocations: 82.73 kB / 494.3 MB, free: 22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.6032, allocations: 89.06 kB / 494.4 MB, free: 21.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.6093, allocations: 8.009 MB / 0.4906 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.6097, allocations: 0.8153 MB / 0.4914 GB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007788/0.6105, allocations: 164.4 kB / 0.4916 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.6107, allocations: 139.4 kB / 0.4917 GB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6107, allocations: 0 / 0.4917 GB, free: 14.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.6743, allocations: 17.4 MB / 0.5087 GB, free: 6.969 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.6746, allocations: 204.7 kB / 0.5089 GB, free: 6.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/4.18, allocations: 0 / 0.5089 GB, free: 6.73 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat