Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.07851, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00146/0.08002, allocations: 0.8976 MB / 273.5 MB, free: 10.64 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.08438, allocations: 1.734 MB / 275.3 MB, free: 8.902 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.08446, allocations: 0 / 275.3 MB, free: 8.902 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.0845, allocations: 11.94 kB / 275.3 MB, free: 8.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.08583, allocations: 287.2 kB / 275.5 MB, free: 8.609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.08585, allocations: 3.938 kB / 275.5 MB, free: 8.605 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.0859, allocations: 7.984 kB / 275.6 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.08596, allocations: 0 / 275.6 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.08599, allocations: 4 kB / 275.6 MB, free: 8.594 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.08612, allocations: 15.92 kB / 275.6 MB, free: 8.578 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.08614, allocations: 0 / 275.6 MB, free: 8.578 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.08701, allocations: 339.6 kB / 275.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.08704, allocations: 11.92 kB / 275.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.08707, allocations: 25.7 kB / 275.9 MB, free: 8.203 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.0876, allocations: 219.6 kB / 276.2 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.08761, allocations: 0 / 276.2 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08763, allocations: 4 kB / 276.2 MB, free: 7.984 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.08764, allocations: 0 / 276.2 MB, free: 7.984 MB / 234.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.0004769/0.08812, allocations: 395.2 kB / 276.5 MB, free: 7.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.08818, allocations: 8.031 kB / 276.6 MB, free: 7.543 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.08825, allocations: 79.28 kB / 276.6 MB, free: 7.465 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.08845, allocations: 242.3 kB / 276.9 MB, free: 7.188 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.08853, allocations: 158.5 kB / 277 MB, free: 7.031 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.08859, allocations: 150.6 kB / 277.2 MB, free: 6.883 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.099e-05/0.08867, allocations: 101 kB / 277.3 MB, free: 6.777 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.08873, allocations: 75.28 kB / 277.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.0888, allocations: 154.5 kB / 277.5 MB, free: 6.551 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.08887, allocations: 154.6 kB / 277.6 MB, free: 6.398 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.08894, allocations: 158.6 kB / 277.8 MB, free: 6.242 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.08928, allocations: 445.9 kB / 278.2 MB, free: 5.758 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.08938, allocations: 169.1 kB / 278.4 MB, free: 5.582 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.08943, allocations: 83.23 kB / 278.5 MB, free: 5.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.0895, allocations: 113.8 kB / 278.6 MB, free: 5.379 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.08951, allocations: 0 / 278.6 MB, free: 5.379 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 8.481e-05/0.08961, allocations: 29.75 kB / 278.6 MB, free: 5.344 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.08965, allocations: 51.41 kB / 278.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.08978, allocations: 109.8 kB / 278.8 MB, free: 5.164 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.08981, allocations: 25.7 kB / 278.8 MB, free: 5.133 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.08987, allocations: 80.14 kB / 278.9 MB, free: 5.051 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.08989, allocations: 4 kB / 278.9 MB, free: 5.047 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.08989, allocations: 0 / 278.9 MB, free: 5.047 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.09004, allocations: 310.8 kB / 279.2 MB, free: 4.734 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.09005, allocations: 4 kB / 279.2 MB, free: 4.73 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.09007, allocations: 4.031 kB / 279.2 MB, free: 4.727 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.09011, allocations: 83.22 kB / 279.3 MB, free: 4.645 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-05/0.09016, allocations: 79.27 kB / 279.4 MB, free: 4.566 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.504e-05/0.09023, allocations: 29.7 kB / 279.4 MB, free: 4.531 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.0903, allocations: 91.17 kB / 279.5 MB, free: 4.441 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.09034, allocations: 75.28 kB / 279.5 MB, free: 4.367 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.841e-05/0.09042, allocations: 154.5 kB / 279.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.09047, allocations: 79.28 kB / 279.8 MB, free: 4.137 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.369e-05/0.09055, allocations: 154.5 kB / 279.9 MB, free: 3.984 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.09068, allocations: 75.28 kB / 280 MB, free: 3.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.09073, allocations: 83.27 kB / 280.1 MB, free: 3.828 MB / 234.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001352/0.09088, allocations: 264.4 kB / 280.3 MB, free: 3.559 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.09097, allocations: 112.8 kB / 280.5 MB, free: 3.441 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.09103, allocations: 108.1 kB / 280.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.138e-05/0.09112, allocations: 184.2 kB / 280.7 MB, free: 3.141 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.651e-05/0.09118, allocations: 105 kB / 280.8 MB, free: 3.031 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.09128, allocations: 186.1 kB / 281 MB, free: 2.824 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.09139, allocations: 180.2 kB / 281.2 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.09149, allocations: 105 kB / 281.3 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.09158, allocations: 184.2 kB / 281.5 MB, free: 2.344 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001127/0.09171, allocations: 255.5 kB / 281.7 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001898/0.09191, allocations: 387 kB / 282.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.64e-05/0.09198, allocations: 108.9 kB / 282.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.09205, allocations: 83.28 kB / 282.3 MB, free: 1.488 MB / 234.7 MB Notification: Performance of Backend: time 1.142e-06/0.09207, allocations: 4 kB / 282.3 MB, free: 1.484 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.09358, allocations: 444.8 kB / 282.7 MB, free: 1.098 MB / 234.7 MB Notification: Performance of SimCode: time 0.0006402/0.09424, allocations: 1.001 MB / 283.7 MB, free: 44 kB / 234.7 MB Notification: Performance of Templates: time 0.008293/0.1025, allocations: 2.598 MB / 286.3 MB, free: 13.44 MB / 250.7 MB