Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 102.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2601, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002487/0.2626, allocations: 1.565 MB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.2633, allocations: 0.4909 MB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.2634, allocations: 0 / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2635, allocations: 14.16 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.2636, allocations: 3.938 kB / 401.5 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2638, allocations: 43.89 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.2638, allocations: 51.86 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.264, allocations: 19.98 kB / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2641, allocations: 27.84 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.2641, allocations: 27.91 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2642, allocations: 4 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.2642, allocations: 20 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.2643, allocations: 11.92 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.2643, allocations: 31.8 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2644, allocations: 59.8 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2644, allocations: 0 / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2645, allocations: 0 / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.2645, allocations: 7.938 kB / 401.8 MB, free: 30.99 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.0006017/0.2651, allocations: 388.8 kB / 402.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2651, allocations: 8.031 kB / 402.2 MB, free: 30.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.2652, allocations: 8.844 kB / 402.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2653, allocations: 164.3 kB / 402.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2653, allocations: 4.375 kB / 402.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2653, allocations: 4.375 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2656, allocations: 93.89 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2656, allocations: 0 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2656, allocations: 4 kB / 402.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2656, allocations: 3.984 kB / 402.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.2659, allocations: 79.91 kB / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.2663, allocations: 312.6 kB / 402.9 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2665, allocations: 74.53 kB / 403 MB, free: 29.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2667, allocations: 48.94 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2667, allocations: 0 / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2667, allocations: 34.56 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2667, allocations: 0 / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005271/0.2673, allocations: 157.5 kB / 403.2 MB, free: 29.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2673, allocations: 51.41 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.2674, allocations: 113.8 kB / 403.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2674, allocations: 29.7 kB / 403.4 MB, free: 29.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.2674, allocations: 88.14 kB / 403.5 MB, free: 29.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.2674, allocations: 19.67 kB / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2675, allocations: 17.72 kB / 403.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.2675, allocations: 314.8 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2677, allocations: 43.95 kB / 403.9 MB, free: 28.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.2678, allocations: 35.95 kB / 403.9 MB, free: 28.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.2681, allocations: 80.8 kB / 404 MB, free: 28.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2681, allocations: 0 / 404 MB, free: 28.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002959/0.2684, allocations: 121.5 kB / 404.1 MB, free: 28.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2684, allocations: 8 kB / 404.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2684, allocations: 448 / 404.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2685, allocations: 0 / 404.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2686, allocations: 15.98 kB / 404.1 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2686, allocations: 0 / 404.1 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.2687, allocations: 23.97 kB / 404.1 MB, free: 28.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2687, allocations: 0 / 404.1 MB, free: 28.47 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 5.886e-05/0.2688, allocations: 121.7 kB / 404.3 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2688, allocations: 7.906 kB / 404.3 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.2691, allocations: 133.5 kB / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2692, allocations: 3.984 kB / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2692, allocations: 0 / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2692, allocations: 0 / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2694, allocations: 193.5 kB / 404.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2694, allocations: 0 / 404.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2695, allocations: 23.97 kB / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2695, allocations: 0 / 404.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2695, allocations: 4 kB / 404.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2695, allocations: 0 / 404.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2695, allocations: 4 kB / 404.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.2701, allocations: 0.8019 MB / 405.4 MB, free: 27.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.2702, allocations: 89.02 kB / 405.5 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2702, allocations: 7.938 kB / 405.5 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2703, allocations: 11.98 kB / 405.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.2704, allocations: 3.984 kB / 405.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2704, allocations: 4 kB / 405.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.2704, allocations: 99.52 kB / 405.6 MB, free: 26.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.2704, allocations: 0 / 405.6 MB, free: 26.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.2707, allocations: 15.94 kB / 405.6 MB, free: 26.81 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.0001256/0.2709, allocations: 99.25 kB / 405.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.2712, allocations: 91.89 kB / 405.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2712, allocations: 0 / 405.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2714, allocations: 51.91 kB / 405.9 MB, free: 26.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2717, allocations: 8 kB / 405.9 MB, free: 26.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.2721, allocations: 294.7 kB / 406.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2722, allocations: 0.6926 MB / 406.9 MB, free: 25.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.2723, allocations: 7.984 kB / 406.9 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2723, allocations: 11.44 kB / 406.9 MB, free: 25.49 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2723, allocations: 0 / 406.9 MB, free: 25.49 MB / 298.7 MB Notification: Performance of Templates: time 0.002959/0.2753, allocations: 0.7895 MB / 407.7 MB, free: 24.71 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@2/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