Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 8 kB / 233.1 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0701/0.07049, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001852/0.07239, allocations: 1.175 MB / 273.1 MB, free: 11.02 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.07338, allocations: 491.3 kB / 273.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.07344, allocations: 0 / 273.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.248e-05/0.07354, allocations: 11.94 kB / 273.6 MB, free: 10.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.07362, allocations: 11.98 kB / 273.6 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.07379, allocations: 27.92 kB / 273.6 MB, free: 10.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.07388, allocations: 31.89 kB / 273.6 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.07399, allocations: 15.98 kB / 273.7 MB, free: 10.43 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.07413, allocations: 19.92 kB / 273.7 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.0742, allocations: 23.89 kB / 273.7 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.07423, allocations: 4 kB / 273.7 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.0743, allocations: 19.88 kB / 273.7 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.07433, allocations: 11.94 kB / 273.7 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.07438, allocations: 33.69 kB / 273.8 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.0745, allocations: 43.92 kB / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.489e-06/0.07452, allocations: 0 / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.07453, allocations: 0 / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.054e-06/0.07454, allocations: 0 / 273.8 MB, free: 10.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006845/0.07524, allocations: 383.4 kB / 274.2 MB, free: 9.852 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.07529, allocations: 8.031 kB / 274.2 MB, free: 9.844 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.07534, allocations: 4 kB / 274.2 MB, free: 9.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.07551, allocations: 182.8 kB / 274.4 MB, free: 9.621 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.07554, allocations: 3.953 kB / 274.4 MB, free: 9.617 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.07557, allocations: 8 kB / 274.4 MB, free: 9.609 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.0759, allocations: 89.64 kB / 274.5 MB, free: 9.516 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.07593, allocations: 0 / 274.5 MB, free: 9.516 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.07595, allocations: 4 kB / 274.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-06/0.07597, allocations: 4 kB / 274.5 MB, free: 9.508 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.07638, allocations: 99.86 kB / 274.6 MB, free: 9.41 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.07692, allocations: 304.7 kB / 274.9 MB, free: 9.062 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.07723, allocations: 74.56 kB / 275 MB, free: 8.98 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.07726, allocations: 0 / 275 MB, free: 8.98 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.07731, allocations: 38.56 kB / 275 MB, free: 8.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.976e-06/0.07732, allocations: 0 / 275 MB, free: 8.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007161/0.07805, allocations: 165.7 kB / 275.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.07812, allocations: 55.41 kB / 275.2 MB, free: 8.699 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.07824, allocations: 113.8 kB / 275.3 MB, free: 8.578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.07828, allocations: 29.7 kB / 275.4 MB, free: 8.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.07839, allocations: 162.5 kB / 275.5 MB, free: 8.383 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.07843, allocations: 19.73 kB / 275.5 MB, free: 8.363 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-06/0.07845, allocations: 0 / 275.5 MB, free: 8.363 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.07862, allocations: 314.8 kB / 275.8 MB, free: 8.047 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.07883, allocations: 47.95 kB / 275.9 MB, free: 8 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.07903, allocations: 52.08 kB / 275.9 MB, free: 7.949 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.07923, allocations: 51.95 kB / 276 MB, free: 7.898 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-06/0.07925, allocations: 0 / 276 MB, free: 7.898 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004536/0.07971, allocations: 121.6 kB / 276.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.07975, allocations: 7.938 kB / 276.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-06/0.07976, allocations: 0 / 276.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.07979, allocations: 4 kB / 276.1 MB, free: 7.762 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.07997, allocations: 31.91 kB / 276.1 MB, free: 7.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.734e-06/0.07999, allocations: 0 / 276.1 MB, free: 7.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.0801, allocations: 15.98 kB / 276.2 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-06/0.08012, allocations: 0 / 276.2 MB, free: 7.715 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 (4): * Single equations (assignments): 4 * 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.0001186/0.08025, allocations: 117.8 kB / 276.3 MB, free: 7.59 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.0803, allocations: 0 / 276.3 MB, free: 7.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.08082, allocations: 153.4 kB / 276.4 MB, free: 7.434 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-06/0.08084, allocations: 0 / 276.4 MB, free: 7.434 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.633e-06/0.08086, allocations: 4.062 kB / 276.4 MB, free: 7.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.08087, allocations: 0 / 276.4 MB, free: 7.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.08115, allocations: 185.6 kB / 276.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-06/0.08116, allocations: 0 / 276.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.08133, allocations: 31.91 kB / 276.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.821e-06/0.08134, allocations: 0 / 276.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.08137, allocations: 4 kB / 276.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.396e-06/0.08138, allocations: 4 kB / 276.7 MB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-06/0.08139, allocations: 0 / 276.7 MB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.08191, allocations: 227.4 kB / 276.9 MB, free: 6.922 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.08199, allocations: 89 kB / 277 MB, free: 6.816 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.08203, allocations: 0 / 277 MB, free: 6.816 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.0822, allocations: 15.98 kB / 277 MB, free: 6.801 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.08227, allocations: 15.98 kB / 277 MB, free: 6.785 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-06/0.0823, allocations: 0 / 277 MB, free: 6.785 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.462e-05/0.08237, allocations: 83.28 kB / 277.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.08238, allocations: 0 / 277.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.08272, allocations: 15.94 kB / 277.1 MB, free: 6.688 MB / 234.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 (6): * Single equations (assignments): 6 * 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.0001547/0.08289, allocations: 107.2 kB / 277.2 MB, free: 6.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.08335, allocations: 99.92 kB / 277.3 MB, free: 6.473 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.075e-06/0.08337, allocations: 4 kB / 277.3 MB, free: 6.469 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.0836, allocations: 55.91 kB / 277.3 MB, free: 6.414 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.08385, allocations: 13.66 kB / 277.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.08431, allocations: 194.5 kB / 277.6 MB, free: 6.18 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.0847, allocations: 0.6887 MB / 278.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.08477, allocations: 15.42 kB / 278.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of SimCode: time 1.512e-06/0.08478, allocations: 0 / 278.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of Templates: time 0.002709/0.08749, allocations: 0.8824 MB / 279.1 MB, free: 4.57 MB / 234.7 MB