Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 98.38 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 7.938 kB / 354.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.203, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001341/0.2044, allocations: 1.21 MB / 405.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.2051, allocations: 0.5385 MB / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.2051, allocations: 4 kB / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.2052, allocations: 11.92 kB / 406.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.2053, allocations: 11.92 kB / 406.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2054, allocations: 38.73 kB / 406.4 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.2055, allocations: 47.91 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.2056, allocations: 19.92 kB / 406.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.2057, allocations: 27.84 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.2058, allocations: 19.92 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2058, allocations: 4 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.2059, allocations: 20.92 kB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2059, allocations: 3.938 kB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2059, allocations: 53.56 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.206, allocations: 56.53 kB / 406.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2061, allocations: 0 / 406.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2061, allocations: 4.547 kB / 406.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2061, allocations: 0.8125 kB / 406.6 MB, free: 29.24 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005015/0.2066, allocations: 379.7 kB / 407 MB, free: 28.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2066, allocations: 19.61 kB / 407 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2067, allocations: 8.844 kB / 407 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/0.2067, allocations: 176.2 kB / 407.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2068, allocations: 4.375 kB / 407.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2068, allocations: 4.375 kB / 407.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.207, allocations: 99.2 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2071, allocations: 3.938 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.2071, allocations: 0.9062 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2071, allocations: 0 / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.2074, allocations: 107.9 kB / 407.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.2077, allocations: 312.8 kB / 407.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.208, allocations: 86.47 kB / 407.8 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2081, allocations: 56.94 kB / 407.9 MB, free: 27.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2081, allocations: 0 / 407.9 MB, free: 27.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.2082, allocations: 38.56 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.2082, allocations: 3.984 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004956/0.2087, allocations: 181.5 kB / 408.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2087, allocations: 55.41 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.2088, allocations: 105.8 kB / 408.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.2088, allocations: 29.7 kB / 408.3 MB, free: 27.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.2088, allocations: 92.05 kB / 408.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.2088, allocations: 23.73 kB / 408.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2088, allocations: 0 / 408.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.2089, allocations: 318.8 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.209, allocations: 51.95 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2092, allocations: 47.91 kB / 408.8 MB, free: 26.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.2094, allocations: 100.8 kB / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2094, allocations: 0 / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002865/0.2097, allocations: 141.8 kB / 409 MB, free: 26.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2097, allocations: 4 kB / 409 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2097, allocations: 4 kB / 409 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2098, allocations: 0 / 409 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2099, allocations: 31.91 kB / 409.1 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2099, allocations: 0 / 409.1 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.21, allocations: 15.98 kB / 409.1 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.21, allocations: 0 / 409.1 MB, free: 26.58 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.21, allocations: 125.7 kB / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.2101, allocations: 0 / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.2104, allocations: 161.4 kB / 409.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2104, allocations: 0 / 409.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2104, allocations: 0 / 409.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2105, allocations: 0 / 409.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.2106, allocations: 197.5 kB / 409.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2106, allocations: 448 / 409.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2107, allocations: 31.98 kB / 409.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2107, allocations: 0 / 409.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2107, allocations: 4 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2107, allocations: 4.078 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2107, allocations: 3.984 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2111, allocations: 239.3 kB / 409.8 MB, free: 25.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.2111, allocations: 81.02 kB / 409.9 MB, free: 25.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2111, allocations: 8 kB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2112, allocations: 23.97 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.2113, allocations: 0 / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2113, allocations: 4 kB / 409.9 MB, free: 25.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.419e-05/0.2113, allocations: 87.27 kB / 410 MB, free: 25.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 410 MB, free: 25.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.2115, allocations: 15.94 kB / 410 MB, free: 25.51 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.2116, allocations: 111.2 kB / 410.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.212, allocations: 115.8 kB / 410.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.212, allocations: 0 / 410.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2121, allocations: 59.91 kB / 410.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2124, allocations: 12.27 kB / 410.3 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.2127, allocations: 183.6 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2128, allocations: 0.6926 MB / 411.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.2128, allocations: 7.938 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.2129, allocations: 11.44 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.2129, allocations: 0 / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of Templates: time 0.00243/0.2153, allocations: 0.7637 MB / 412 MB, free: 23.51 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches