Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002594/0.002594, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.484/2.484, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 43.19 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1633, allocations: 49.44 MB / 350.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.0103/0.1737, allocations: 4.572 MB / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1779, allocations: 1.207 MB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009038/0.1789, allocations: 23.88 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.1796, allocations: 139.1 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.1814, allocations: 314.4 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.1821, allocations: 175.8 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002875/0.185, allocations: 1.802 MB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.1869, allocations: 0.9439 MB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.1882, allocations: 0.5719 MB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1899, allocations: 0.7899 MB / 360.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.1902, allocations: 104 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1906, allocations: 103.9 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.1911, allocations: 394.6 kB / 361.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.1923, allocations: 0.7074 MB / 361.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.1945, allocations: 1.82 MB / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1946, allocations: 0 / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1946, allocations: 0 / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.1946, allocations: 0 / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004983/0.1996, allocations: 1.766 MB / 365.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.1997, allocations: 12.03 kB / 365.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.2001, allocations: 151.1 kB / 365.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.2021, allocations: 0.9578 MB / 366.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.2023, allocations: 86.44 kB / 366.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.2025, allocations: 108.1 kB / 366.8 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.2065, allocations: 1.549 MB / 368.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/0.2066, allocations: 15.88 kB / 368.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2068, allocations: 40 kB / 368.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.32e-05/0.2069, allocations: 49.97 kB / 368.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/0.2109, allocations: 1.429 MB / 369.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3384/0.5493, allocations: 4.925 MB / 374.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.553, allocations: 1.45 MB / 376.2 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.5556, allocations: 0.7308 MB / 377 MB, free: 22.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.5558, allocations: 12.5 kB / 377 MB, free: 22.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.558, allocations: 0.6109 MB / 377.6 MB, free: 21.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 9.007e-06/0.5581, allocations: 1.344 kB / 377.6 MB, free: 21.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.01254/0.5706, allocations: 2.438 MB / 380 MB, free: 21.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5708, allocations: 86.59 kB / 380.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.574, allocations: 0.9377 MB / 381.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.5743, allocations: 41.56 kB / 381.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/0.575, allocations: 0.5208 MB / 381.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/0.5755, allocations: 234.8 kB / 381.8 MB, free: 20 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.5761, allocations: 132.2 kB / 382 MB, free: 19.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5763, allocations: 338.2 kB / 382.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.5778, allocations: 413.1 kB / 382.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.5793, allocations: 0.5538 MB / 383.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.5821, allocations: 0.9472 MB / 384.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.5821, allocations: 1.406 kB / 384.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004249/0.5864, allocations: 1.291 MB / 385.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.5865, allocations: 7.594 kB / 385.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.5865, allocations: 4.125 kB / 385.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.5883, allocations: 401.1 kB / 385.9 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/0.5893, allocations: 115 kB / 386 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008746/0.598, allocations: 4.13 MB / 390.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.5995, allocations: 86.78 kB / 390.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.5997, allocations: 23.62 kB / 390.3 MB, free: 14.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.6012, allocations: 499.6 kB / 390.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/0.6017, allocations: 88.28 kB / 390.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.6022, allocations: 121.1 kB / 390.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.6022, allocations: 6.156 kB / 391 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.6022, allocations: 1.5 kB / 391 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.6022, allocations: 3.984 kB / 391 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/0.6099, allocations: 2.6 MB / 393.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.61, allocations: 0 / 393.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.6108, allocations: 89.69 kB / 393.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.6124, allocations: 390.1 kB / 394 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.6125, allocations: 15.36 kB / 394 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/0.6206, allocations: 4.097 MB / 398.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6207, allocations: 0 / 398.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.6256, allocations: 1.958 MB / 400.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/0.6266, allocations: 283.8 kB / 400.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.627, allocations: 15.98 kB / 400.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.628, allocations: 43.95 kB / 400.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.6284, allocations: 76.53 kB / 400.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.6285, allocations: 16 kB / 400.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.6301, allocations: 0.6747 MB / 401.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6301, allocations: 0 / 401.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001988/0.6321, allocations: 354.8 kB / 401.5 MB, free: 5.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.6324, allocations: 132.4 kB / 401.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003475/0.6359, allocations: 1.271 MB / 402.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.636, allocations: 0 / 402.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.638, allocations: 0.8037 MB / 403.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.6403, allocations: 241.2 kB / 404 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/0.6488, allocations: 3.127 MB / 407.1 MB, free: 304 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.6507, allocations: 1.354 MB / 408.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.6512, allocations: 59.42 kB / 408.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6512, allocations: 0 / 408.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Templates: time 0.05778/0.709, allocations: 21.94 MB / 430.5 MB, free: 9.004 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches