Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 179 kB / 16.71 MB, free: 5.062 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.344/1.344, allocations: 225.7 MB / 243.2 MB, free: 8.488 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.0007631/0.0007632, allocations: 97.94 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 7.938 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1825, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.002608/0.1852, allocations: 3.165 MB / 407.8 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1864, allocations: 1.035 MB / 408.8 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1866, allocations: 11.94 kB / 408.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1868, allocations: 80.25 kB / 408.9 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1873, allocations: 217.3 kB / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1875, allocations: 120.9 kB / 409.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.1882, allocations: 1.068 MB / 410.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.1886, allocations: 0.4883 MB / 410.8 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1888, allocations: 318.6 kB / 411.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.1892, allocations: 414.1 kB / 411.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.1893, allocations: 40 kB / 411.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.1894, allocations: 44 kB / 411.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1895, allocations: 211.2 kB / 411.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1898, allocations: 423.5 kB / 412.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.1904, allocations: 1.193 MB / 413.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1904, allocations: 0 / 413.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1904, allocations: 0 / 413.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1904, allocations: 0 / 413.4 MB, free: 22.47 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001273/0.1917, allocations: 1.029 MB / 414.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1917, allocations: 8.031 kB / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1918, allocations: 95.81 kB / 414.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.1925, allocations: 0.6158 MB / 415.1 MB, free: 20.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.1925, allocations: 53.25 kB / 415.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.1926, allocations: 71.98 kB / 415.2 MB, free: 20.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1937, allocations: 0.915 MB / 416.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1937, allocations: 3.984 kB / 416.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.1938, allocations: 28 kB / 416.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.1938, allocations: 29.31 kB / 416.2 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/0.1948, allocations: 0.7975 MB / 417 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.1976, allocations: 2.834 MB / 419.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.1983, allocations: 0.7618 MB / 420.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.1988, allocations: 357.1 kB / 421 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1988, allocations: 4.328 kB / 421 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.1993, allocations: 381.9 kB / 421.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1993, allocations: 0 / 421.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002214/0.2015, allocations: 1.26 MB / 422.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2016, allocations: 110.8 kB / 422.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.202, allocations: 0.5605 MB / 423.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2021, allocations: 33.7 kB / 423.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2022, allocations: 363.8 kB / 423.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.2023, allocations: 134.1 kB / 423.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.2023, allocations: 8 kB / 423.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.2024, allocations: 370.8 kB / 424.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.2027, allocations: 221 kB / 424.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.203, allocations: 365.7 kB / 424.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.2036, allocations: 0.5627 MB / 425.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2037, allocations: 3.938 kB / 425.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000928/0.2046, allocations: 0.7745 MB / 426.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2046, allocations: 8 kB / 426.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2046, allocations: 4 kB / 426.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.205, allocations: 200.6 kB / 426.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.2053, allocations: 83.92 kB / 426.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.2075, allocations: 2.772 MB / 429.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.2078, allocations: 63.61 kB / 429.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.2078, allocations: 20 kB / 429.2 MB, free: 5.969 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.2081, allocations: 325.5 kB / 429.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.2082, allocations: 59.42 kB / 429.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.2083, allocations: 77.25 kB / 429.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2083, allocations: 4 kB / 429.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.2083, allocations: 0 / 429.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2083, allocations: 4 kB / 429.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2101, allocations: 1.748 MB / 431.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2102, allocations: 0 / 431.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2104, allocations: 51.91 kB / 431.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.2107, allocations: 200.7 kB / 431.7 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2108, allocations: 11.98 kB / 431.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.2127, allocations: 2.635 MB / 434.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2127, allocations: 4 kB / 434.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2141, allocations: 1.157 MB / 435.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.2144, allocations: 192.4 kB / 435.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.2144, allocations: 8 kB / 435.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.2147, allocations: 35.97 kB / 435.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2148, allocations: 52.05 kB / 435.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2149, allocations: 12 kB / 435.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004183/0.2153, allocations: 414.8 kB / 436.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2153, allocations: 0 / 436.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.2159, allocations: 203.3 kB / 436.4 MB, free: 14.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.216, allocations: 134.4 kB / 436.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2171, allocations: 0.7363 MB / 437.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2172, allocations: 0 / 437.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.2178, allocations: 479 kB / 437.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.2184, allocations: 134.5 kB / 437.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.2208, allocations: 1.875 MB / 439.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.2213, allocations: 1.074 MB / 440.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.2216, allocations: 92.72 kB / 440.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.2217, allocations: 39.44 kB / 440.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2217, allocations: 0 / 440.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of Templates: time 0.01349/0.2352, allocations: 9.311 MB / 450.2 MB, free: 0.6836 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches