Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08809/0.08843, allocations: 44.49 MB / 309 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001972/0.09045, allocations: 1.183 MB / 310.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.09147, allocations: 0.496 MB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.09152, allocations: 0 / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.361e-05/0.09162, allocations: 11.92 kB / 310.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.0917, allocations: 7.984 kB / 310.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.09188, allocations: 27.92 kB / 310.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.09199, allocations: 35.91 kB / 310.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.09211, allocations: 23.95 kB / 310.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.09222, allocations: 19.92 kB / 310.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.09231, allocations: 23.91 kB / 310.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.09234, allocations: 0 / 310.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.09241, allocations: 12 kB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.09244, allocations: 15.91 kB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.09248, allocations: 29.7 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.09262, allocations: 47.92 kB / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09264, allocations: 0 / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09265, allocations: 0 / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.09267, allocations: 0 / 311 MB, free: 14.43 MB / 266.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.0007385/0.09341, allocations: 387.3 kB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.09347, allocations: 12.03 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.09351, allocations: 3.906 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.09365, allocations: 175 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.09369, allocations: 4 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.09372, allocations: 4 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.09414, allocations: 101.6 kB / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.09416, allocations: 0 / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.09419, allocations: 0 / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.09421, allocations: 0 / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.0948, allocations: 103.9 kB / 311.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.09533, allocations: 308.7 kB / 312 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.09573, allocations: 82.53 kB / 312.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.09577, allocations: 0 / 312.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.09581, allocations: 34.56 kB / 312.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.09582, allocations: 7.938 kB / 312.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009885/0.09682, allocations: 189.6 kB / 312.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.09687, allocations: 51.41 kB / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.09699, allocations: 113.8 kB / 312.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.09702, allocations: 25.7 kB / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.09709, allocations: 96.06 kB / 312.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.09713, allocations: 19.72 kB / 312.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.09715, allocations: 0 / 312.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.09729, allocations: 314.8 kB / 313 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.09758, allocations: 47.97 kB / 313 MB, free: 12.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.09788, allocations: 47.95 kB / 313.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.09818, allocations: 51.97 kB / 313.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0982, allocations: 0 / 313.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006329/0.09884, allocations: 129.6 kB / 313.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.09887, allocations: 7.984 kB / 313.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.09889, allocations: 4 kB / 313.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.09891, allocations: 3.938 kB / 313.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.09914, allocations: 19.98 kB / 313.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.09916, allocations: 3.953 kB / 313.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.09933, allocations: 23.92 kB / 313.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.09935, allocations: 4.438 kB / 313.3 MB, free: 11.88 MB / 266.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 (5): * Single equations (assignments): 5 * 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 9.598e-05/0.09945, allocations: 113.8 kB / 313.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.0995, allocations: 7.906 kB / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006818/0.1002, allocations: 149.6 kB / 313.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1002, allocations: 4 kB / 313.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.1002, allocations: 4 kB / 313.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.1003, allocations: 100.8 kB / 313.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1003, allocations: 0 / 313.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1005, allocations: 19.98 kB / 313.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.1006, allocations: 11.97 kB / 313.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007948/0.1014, allocations: 232.9 kB / 313.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007215/0.1021, allocations: 322.7 kB / 314.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003005/0.1025, allocations: 52.28 kB / 314.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.1025, allocations: 99.2 kB / 314.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Backend: time 6.71e-07/0.1025, allocations: 0 / 314.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.1032, allocations: 134.4 kB / 314.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of SimCode: time 0.0006139/0.1038, allocations: 0.5995 MB / 315.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Templates: time 0.004441/0.1083, allocations: 0.9506 MB / 316.1 MB, free: 8.996 MB / 266.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[2022]=1.010000 File[4005]=2.000500 " Variables in the reference:time,len.y,phi.y Variables in the result:complexToReal.useConjugateInput,len.duration,len.height,len.offset,len.startTime,len.y,phi.duration,phi.height,phi.offset,phi.startTime,phi.y,time