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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001509, 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.268/1.268, allocations: 225.7 MB / 243.2 MB, free: 10.22 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.0007903/0.0007904, allocations: 98.5 kB / 294.4 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002153, allocations: 4 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1975, allocations: 50.41 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002462/0.2, allocations: 2.958 MB / 407.5 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.2009, allocations: 0.8107 MB / 408.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2011, allocations: 4 kB / 408.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2012, allocations: 51.55 kB / 408.4 MB, free: 27.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.2014, allocations: 106.3 kB / 408.5 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2017, allocations: 115.9 kB / 408.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.202, allocations: 0.49 MB / 409.1 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2022, allocations: 157.6 kB / 409.3 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2024, allocations: 159.2 kB / 409.4 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2025, allocations: 199 kB / 409.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.2026, allocations: 20 kB / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.2026, allocations: 20 kB / 409.7 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.2027, allocations: 67.69 kB / 409.7 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2028, allocations: 228.5 kB / 410 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2031, allocations: 486.1 kB / 410.4 MB, free: 25.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2031, allocations: 0 / 410.4 MB, free: 25.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2031, allocations: 0 / 410.4 MB, free: 25.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2032, allocations: 4 kB / 410.4 MB, free: 25.53 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008154/0.204, allocations: 0.6522 MB / 411.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.204, allocations: 8.031 kB / 411.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.2041, allocations: 48.38 kB / 411.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.2044, allocations: 344.2 kB / 411.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2044, allocations: 29.38 kB / 411.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.2045, allocations: 36.38 kB / 411.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.205, allocations: 392 kB / 411.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.205, allocations: 0 / 411.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.2051, allocations: 20 kB / 411.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2051, allocations: 12 kB / 412 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.2055, allocations: 263.8 kB / 412.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.207, allocations: 1.515 MB / 413.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.2073, allocations: 244.5 kB / 414 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.2076, allocations: 173.2 kB / 414.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2076, allocations: 4.234 kB / 414.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.2079, allocations: 242 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.2079, allocations: 0 / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001237/0.2092, allocations: 0.5917 MB / 415 MB, free: 20.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2092, allocations: 110.8 kB / 415.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2094, allocations: 296.5 kB / 415.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2095, allocations: 37.7 kB / 415.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.2096, allocations: 208.4 kB / 415.6 MB, free: 20.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2096, allocations: 98.55 kB / 415.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.2096, allocations: 12 kB / 415.7 MB, free: 19.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.2097, allocations: 342.8 kB / 416 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2098, allocations: 92.7 kB / 416.1 MB, free: 19.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.21, allocations: 229.5 kB / 416.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2104, allocations: 333.4 kB / 416.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2104, allocations: 4 kB / 416.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005463/0.211, allocations: 416.4 kB / 417.1 MB, free: 18.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.211, allocations: 12.03 kB / 417.1 MB, free: 18.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.211, allocations: 4 kB / 417.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.2113, allocations: 88.73 kB / 417.2 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2115, allocations: 55.91 kB / 417.3 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2127, allocations: 1.807 MB / 419.1 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2129, allocations: 43.75 kB / 419.1 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2129, allocations: 12 kB / 419.1 MB, free: 16.27 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: 11 ($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_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.2131, allocations: 163.6 kB / 419.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.2131, allocations: 35.56 kB / 419.3 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.2132, allocations: 39.09 kB / 419.3 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2132, allocations: 4 kB / 419.4 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2132, allocations: 4 kB / 419.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2132, allocations: 11.98 kB / 419.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.2136, allocations: 0.5654 MB / 419.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2136, allocations: 3.984 kB / 419.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2138, allocations: 31.98 kB / 420 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.214, allocations: 80.83 kB / 420 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.214, allocations: 8 kB / 420.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.2152, allocations: 1.796 MB / 421.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2152, allocations: 0 / 421.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.2159, allocations: 0.4998 MB / 422.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.216, allocations: 132.7 kB / 422.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.216, allocations: 8 kB / 422.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2162, allocations: 19.98 kB / 422.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.2163, allocations: 27.91 kB / 422.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2163, allocations: 15.98 kB / 422.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.2164, allocations: 203.4 kB / 422.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2164, allocations: 0 / 422.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.2168, allocations: 111.7 kB / 422.9 MB, free: 12.28 MB / 298.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.2169, allocations: 139.8 kB / 423 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.2175, allocations: 419.1 kB / 423.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2175, allocations: 0 / 423.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.2178, allocations: 282.5 kB / 423.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2181, allocations: 61 kB / 423.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.2191, allocations: 0.894 MB / 424.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2193, allocations: 0.8109 MB / 425.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.2194, allocations: 30.97 kB / 425.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.2194, allocations: 23.44 kB / 425.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2194, allocations: 0 / 425.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of Templates: time 0.007009/0.2265, allocations: 4.367 MB / 429.9 MB, free: 5.211 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches