Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.0006081, allocations: 8 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2759, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002757/0.2787, allocations: 1.705 MB / 370.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.2811, allocations: 1.147 MB / 372 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2813, allocations: 4 kB / 372 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.2813, allocations: 15.84 kB / 372 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2815, allocations: 23.89 kB / 372.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.282, allocations: 155.6 kB / 372.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.2822, allocations: 116.4 kB / 372.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2825, allocations: 73.58 kB / 372.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2826, allocations: 55.66 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2827, allocations: 71.61 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.2828, allocations: 4 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.2831, allocations: 123.9 kB / 372.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.2832, allocations: 31.84 kB / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.2832, allocations: 49.64 kB / 372.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.2836, allocations: 216.1 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.859e-06/0.2837, allocations: 0 / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2837, allocations: 0 / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.478e-06/0.2837, allocations: 0 / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000672/0.2844, allocations: 0.4885 MB / 373.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2844, allocations: 12.03 kB / 373.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2855, allocations: 63.77 kB / 373.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.2857, allocations: 186.7 kB / 373.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.2857, allocations: 20.56 kB / 373.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.2858, allocations: 28 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.2863, allocations: 200.9 kB / 373.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2863, allocations: 7.938 kB / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2863, allocations: 12 kB / 374 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2863, allocations: 15.94 kB / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.2868, allocations: 142.2 kB / 374.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.2879, allocations: 0.5968 MB / 374.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.2886, allocations: 223.4 kB / 374.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2887, allocations: 4.234 kB / 374.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2887, allocations: 34.78 kB / 375 MB, free: 4.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.145e-06/0.2887, allocations: 0 / 375 MB, free: 4.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006259/0.2894, allocations: 231.5 kB / 375.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2894, allocations: 55.41 kB / 375.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.2895, allocations: 101.8 kB / 375.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2896, allocations: 33.64 kB / 375.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2897, allocations: 199 kB / 375.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2898, allocations: 94.64 kB / 375.7 MB, free: 4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.2899, allocations: 4 kB / 375.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.29, allocations: 326.8 kB / 376 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2902, allocations: 43.97 kB / 376 MB, free: 3.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2903, allocations: 51.89 kB / 376.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2905, allocations: 49.41 kB / 376.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-06/0.2905, allocations: 0 / 376.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004004/0.2909, allocations: 177.5 kB / 376.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.291, allocations: 8 kB / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.92e-06/0.291, allocations: 0 / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.291, allocations: 0 / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2915, allocations: 95.94 kB / 376.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.645e-06/0.2915, allocations: 3.938 kB / 376.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/0.2916, allocations: 23.84 kB / 376.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2916, allocations: 8 kB / 376.4 MB, free: 3.211 MB / 298.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 (27): * Single equations (assignments): 27 * 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.0001532/0.2918, allocations: 129.8 kB / 376.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.2919, allocations: 11.81 kB / 376.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.2919, allocations: 25.12 kB / 376.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.497e-06/0.2919, allocations: 4 kB / 376.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.292, allocations: 0 / 376.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.292, allocations: 0 / 376.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.2924, allocations: 269.4 kB / 376.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-06/0.2924, allocations: 8 kB / 376.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.2928, allocations: 99.88 kB / 377 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.746e-06/0.2929, allocations: 0 / 377 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2929, allocations: 4 kB / 377 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.481e-06/0.2929, allocations: 7.984 kB / 377 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-06/0.2929, allocations: 0 / 377 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.2934, allocations: 279.3 kB / 377.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.2935, allocations: 88.95 kB / 377.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.2935, allocations: 4 kB / 377.3 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2937, allocations: 8.25 kB / 377.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.2937, allocations: 15.97 kB / 377.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2938, allocations: 16 kB / 377.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.2938, allocations: 79.28 kB / 377.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2938, allocations: 0 / 377.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.2942, allocations: 51.75 kB / 377.5 MB, free: 2.043 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.000141/0.2944, allocations: 106.4 kB / 377.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2948, allocations: 131.9 kB / 377.7 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.318e-06/0.2948, allocations: 4 kB / 377.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.295, allocations: 88.72 kB / 377.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.2952, allocations: 7.953 kB / 377.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2962, allocations: 0.6169 MB / 378.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.2966, allocations: 0.7363 MB / 379.2 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.2967, allocations: 23.44 kB / 379.2 MB, free: 280 kB / 298.7 MB Notification: Performance of SimCode: time 1.591e-06/0.2968, allocations: 0 / 379.2 MB, free: 280 kB / 298.7 MB Notification: Performance of Templates: time 0.004342/0.3011, allocations: 1.686 MB / 380.9 MB, free: 14.59 MB / 314.7 MB