Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 11.98 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08495/0.08531, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002186/0.08755, allocations: 1.174 MB / 273.8 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.08868, allocations: 495.4 kB / 274.3 MB, free: 9.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.08876, allocations: 0 / 274.3 MB, free: 9.875 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.848e-05/0.08887, allocations: 7.938 kB / 274.3 MB, free: 9.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.08895, allocations: 7.969 kB / 274.3 MB, free: 9.859 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.08915, allocations: 39.78 kB / 274.3 MB, free: 9.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.08925, allocations: 31.97 kB / 274.4 MB, free: 9.789 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.08936, allocations: 15.98 kB / 274.4 MB, free: 9.773 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.08949, allocations: 23.91 kB / 274.4 MB, free: 9.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.08957, allocations: 23.86 kB / 274.4 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.0896, allocations: 4 kB / 274.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.08967, allocations: 11.94 kB / 274.4 MB, free: 9.711 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.0897, allocations: 7.984 kB / 274.4 MB, free: 9.703 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.08974, allocations: 37.64 kB / 274.5 MB, free: 9.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.08987, allocations: 39.91 kB / 274.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.08989, allocations: 0 / 274.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0899, allocations: 4 kB / 274.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.08991, allocations: 0 / 274.5 MB, free: 9.617 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.0007673/0.09069, allocations: 383.3 kB / 274.9 MB, free: 9.195 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.09074, allocations: 8.031 kB / 274.9 MB, free: 9.188 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.09079, allocations: 4 kB / 274.9 MB, free: 9.184 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.09094, allocations: 170.9 kB / 275.1 MB, free: 8.977 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.09097, allocations: 11.95 kB / 275.1 MB, free: 8.965 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.091, allocations: 3.984 kB / 275.1 MB, free: 8.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.09142, allocations: 97.58 kB / 275.2 MB, free: 8.859 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.09145, allocations: 4 kB / 275.2 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.09147, allocations: 0 / 275.2 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.09148, allocations: 0 / 275.2 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.09206, allocations: 99.91 kB / 275.3 MB, free: 8.758 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.0926, allocations: 304.7 kB / 275.6 MB, free: 8.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.09301, allocations: 78.53 kB / 275.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.09305, allocations: 7.984 kB / 275.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.09309, allocations: 30.56 kB / 275.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.0931, allocations: 0 / 275.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009396/0.09405, allocations: 177.7 kB / 275.9 MB, free: 8.098 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.09409, allocations: 51.41 kB / 275.9 MB, free: 8.035 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.0942, allocations: 105.8 kB / 276 MB, free: 7.922 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.09423, allocations: 25.7 kB / 276.1 MB, free: 7.891 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.09431, allocations: 95.98 kB / 276.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.09435, allocations: 15.8 kB / 276.2 MB, free: 7.777 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.09437, allocations: 8 kB / 276.2 MB, free: 7.77 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.09452, allocations: 318.7 kB / 276.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.0948, allocations: 43.95 kB / 276.5 MB, free: 7.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.09507, allocations: 51.91 kB / 276.6 MB, free: 7.355 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.09536, allocations: 43.95 kB / 276.6 MB, free: 7.312 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09537, allocations: 4 kB / 276.6 MB, free: 7.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006058/0.09599, allocations: 129.6 kB / 276.7 MB, free: 7.176 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.09602, allocations: 4 kB / 276.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.09603, allocations: 0 / 276.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.09606, allocations: 4 kB / 276.8 MB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.09628, allocations: 23.97 kB / 276.8 MB, free: 7.145 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.0963, allocations: 0 / 276.8 MB, free: 7.145 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.09646, allocations: 19.98 kB / 276.8 MB, free: 7.125 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.09648, allocations: 0 / 276.8 MB, free: 7.125 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.0001018/0.09659, allocations: 117.8 kB / 276.9 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.09664, allocations: 3.906 kB / 276.9 MB, free: 6.996 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.09732, allocations: 153.4 kB / 277.1 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.09734, allocations: 336 / 277.1 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09735, allocations: 0 / 277.1 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.09742, allocations: 85.02 kB / 277.1 MB, free: 6.738 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.09745, allocations: 7.984 kB / 277.2 MB, free: 6.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.09765, allocations: 19.98 kB / 277.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.09772, allocations: 7.938 kB / 277.2 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007656/0.09849, allocations: 228.9 kB / 277.4 MB, free: 6.473 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006944/0.0992, allocations: 314.7 kB / 277.7 MB, free: 6.148 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002955/0.09951, allocations: 47.97 kB / 277.8 MB, free: 6.102 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.09959, allocations: 91.56 kB / 277.9 MB, free: 6.012 MB / 234.7 MB Notification: Performance of Backend: time 8.42e-07/0.0996, allocations: 0 / 277.9 MB, free: 6.012 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.1002, allocations: 138.3 kB / 278 MB, free: 5.867 MB / 234.7 MB Notification: Performance of SimCode: time 0.0006282/0.1009, allocations: 0.6072 MB / 278.6 MB, free: 5.211 MB / 234.7 MB Notification: Performance of Templates: time 0.004415/0.1053, allocations: 0.8947 MB / 279.5 MB, free: 4.32 MB / 234.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:len.duration,len.height,len.offset,len.startTime,len.y,phi.duration,phi.height,phi.offset,phi.startTime,phi.y,time