Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004791, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07999, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.409/0.4891, allocations: 125.4 MB / 398 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.4926, allocations: 2.129 MB / 400.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.4927, allocations: 0 / 400.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.4929, allocations: 19.94 kB / 400.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.494, allocations: 271.2 kB / 400.4 MB, free: 15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.4943, allocations: 51.86 kB / 400.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.4944, allocations: 59.89 kB / 400.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.4945, allocations: 3.938 kB / 400.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.4947, allocations: 47.83 kB / 400.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.4948, allocations: 19.94 kB / 400.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.4948, allocations: 8 kB / 400.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4959, allocations: 379.6 kB / 401 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.496, allocations: 11.92 kB / 401 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.496, allocations: 37.69 kB / 401 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.4966, allocations: 207.1 kB / 401.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4966, allocations: 0 / 401.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4966, allocations: 0 / 401.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.4966, allocations: 0 / 401.2 MB, free: 14.19 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001166/0.4978, allocations: 423 kB / 401.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4979, allocations: 8.031 kB / 401.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.5086, allocations: 459.7 kB / 402.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5088, allocations: 163.5 kB / 402.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.5088, allocations: 11.94 kB / 402.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.509, allocations: 8 kB / 402.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5103, allocations: 293.9 kB / 402.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5103, allocations: 0 / 402.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.5104, allocations: 7.984 kB / 402.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5104, allocations: 4 kB / 402.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.5119, allocations: 281.6 kB / 402.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.5135, allocations: 426.4 kB / 403.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.5152, allocations: 202.4 kB / 403.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.5153, allocations: 4 kB / 403.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.5153, allocations: 42.55 kB / 403.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.5154, allocations: 0 / 403.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002921/0.5183, allocations: 422.5 kB / 403.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5184, allocations: 59.34 kB / 404 MB, free: 11.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5185, allocations: 101.8 kB / 404.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5185, allocations: 25.7 kB / 404.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.5186, allocations: 99.7 kB / 404.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.5187, allocations: 55.14 kB / 404.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.5187, allocations: 8 kB / 404.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5189, allocations: 322.8 kB / 404.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.5194, allocations: 76.31 kB / 404.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.5199, allocations: 121 kB / 404.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.5204, allocations: 78.16 kB / 404.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5205, allocations: 4 kB / 404.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001173/0.5216, allocations: 245.3 kB / 405.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5217, allocations: 7.953 kB / 405.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5217, allocations: 0 / 405.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5217, allocations: 4 kB / 405.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.5224, allocations: 60.02 kB / 405.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5224, allocations: 0 / 405.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.5229, allocations: 11.98 kB / 405.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.523, allocations: 19.92 kB / 405.2 MB, free: 9.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001579/0.5231, allocations: 117.8 kB / 405.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.5232, allocations: 11.91 kB / 405.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.5246, allocations: 283.6 kB / 405.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5247, allocations: 4 kB / 405.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5247, allocations: 0 / 405.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.5248, allocations: 81.11 kB / 405.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.5248, allocations: 4 kB / 405.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.5253, allocations: 15.98 kB / 405.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.5253, allocations: 7.984 kB / 405.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001529/0.5269, allocations: 328.6 kB / 406 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001183/0.5281, allocations: 398.5 kB / 406.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004984/0.5286, allocations: 103.2 kB / 406.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.5287, allocations: 79.28 kB / 406.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of Backend: time 7.01e-07/0.5287, allocations: 0 / 406.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.5302, allocations: 314.1 kB / 406.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of SimCode: time 0.0007537/0.5309, allocations: 0.684 MB / 407.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of Templates: time 0.0136/0.5446, allocations: 4.884 MB / 412.5 MB, free: 2.613 MB / 330.7 MB "" Variables in the reference:time,smoothState.p,der_p,der_T Variables in the result:der_T,der_p,smoothState.p,time