Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Utilities.Examples.readRealParameterModel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08114, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.4951, allocations: 73.3 MB / 381.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4953, allocations: 67.44 kB / 381.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.5173, allocations: 6.145 MB / 387.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5173, allocations: 3.938 kB / 387.9 MB, free: 18.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.922e-06/0.5174, allocations: 0 / 387.9 MB, free: 18.24 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004966/0.5179, allocations: 429.3 kB / 388.4 MB, free: 17.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5179, allocations: 8.344 kB / 388.4 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.518, allocations: 84.88 kB / 388.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5181, allocations: 244.3 kB / 388.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.5181, allocations: 150.6 kB / 388.8 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.5182, allocations: 152.2 kB / 389 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.809e-05/0.5182, allocations: 108.9 kB / 389.1 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5182, allocations: 79.27 kB / 389.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.5183, allocations: 155.1 kB / 389.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5183, allocations: 154.3 kB / 389.5 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.5183, allocations: 152 kB / 389.6 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.5186, allocations: 453 kB / 390.1 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/0.5186, allocations: 170.5 kB / 390.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5186, allocations: 75.28 kB / 390.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.564e-05/0.5187, allocations: 42.64 kB / 390.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.022e-06/0.5188, allocations: 4 kB / 390.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.5189, allocations: 34.27 kB / 390.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.5189, allocations: 59.47 kB / 390.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.519, allocations: 93.53 kB / 390.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-06/0.519, allocations: 25.7 kB / 390.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.519, allocations: 151.9 kB / 390.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.5191, allocations: 2.484 kB / 390.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-06/0.5191, allocations: 0 / 390.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.5191, allocations: 320.3 kB / 391 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-06/0.5192, allocations: 0 / 391 MB, free: 15.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-06/0.5192, allocations: 1.375 kB / 391 MB, free: 15.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.507e-05/0.5192, allocations: 1.812 kB / 391 MB, free: 15.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-06/0.5192, allocations: 0 / 391 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.091e-05/0.5193, allocations: 40.52 kB / 391.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5193, allocations: 5.25 kB / 391.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-06/0.5193, allocations: 1.781 kB / 391.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5193, allocations: 0 / 391.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.5194, allocations: 8.031 kB / 391.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-06/0.5194, allocations: 3.938 kB / 391.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.5194, allocations: 1.844 kB / 391.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-06/0.5194, allocations: 0 / 391.1 MB, free: 15.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.19e-05/0.5195, allocations: 110 kB / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.5195, allocations: 5.672 kB / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.5196, allocations: 3.125 kB / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.965e-06/0.5196, allocations: 1.594 kB / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-06/0.5196, allocations: 0 / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-06/0.5196, allocations: 4 kB / 391.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.117e-05/0.5197, allocations: 153.9 kB / 391.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-06/0.5197, allocations: 0 / 391.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-06/0.5197, allocations: 4 kB / 391.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.341e-06/0.5197, allocations: 3.953 kB / 391.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-06/0.5197, allocations: 1.938 kB / 391.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-06/0.5198, allocations: 0 / 391.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-06/0.5198, allocations: 0 / 391.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.5198, allocations: 69.91 kB / 391.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.5199, allocations: 78.89 kB / 391.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.5199, allocations: 5.641 kB / 391.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.5199, allocations: 0 / 391.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.5199, allocations: 1.719 kB / 391.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.52, allocations: 2.344 kB / 391.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.52, allocations: 83.31 kB / 391.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.52, allocations: 0 / 391.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000644/0.5207, allocations: 156.8 kB / 391.8 MB, free: 14.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.001126/0.5218, allocations: 0.4946 MB / 392.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.144e-05/0.5219, allocations: 7.875 kB / 392.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.758e-06/0.5219, allocations: 0 / 392.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.5219, allocations: 5.844 kB / 392.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.522, allocations: 3.938 kB / 392.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.5223, allocations: 149.8 kB / 392.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5224, allocations: 0.6765 MB / 393.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.5224, allocations: 11.41 kB / 393.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.284e-06/0.5225, allocations: 0 / 393.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of Templates: time 0.006012/0.5285, allocations: 3.167 MB / 396.3 MB, free: 12.96 MB / 314.7 MB