Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 94.31 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007546/0.0007546, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1808, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003619/0.1844, allocations: 3.651 MB / 377.5 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1857, allocations: 1.039 MB / 378.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1858, allocations: 12.5 kB / 378.5 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.186, allocations: 83.25 kB / 378.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.1865, allocations: 209.8 kB / 378.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1867, allocations: 125.6 kB / 379 MB, free: 41.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007472/0.1874, allocations: 1.074 MB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.1879, allocations: 487.9 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.1882, allocations: 343.8 kB / 380.8 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.1886, allocations: 465.9 kB / 381.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.1887, allocations: 58.31 kB / 381.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1889, allocations: 55.66 kB / 381.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.189, allocations: 232.3 kB / 381.6 MB, free: 40.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.1893, allocations: 429 kB / 382 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006662/0.19, allocations: 1.209 MB / 383.3 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.19, allocations: 1.062 kB / 383.3 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.19, allocations: 4 kB / 383.3 MB, free: 39.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.19, allocations: 0 / 383.3 MB, free: 39.06 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00156/0.1916, allocations: 1.161 MB / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1916, allocations: 9.719 kB / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1917, allocations: 89 kB / 384.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1924, allocations: 0.5905 MB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1925, allocations: 54.67 kB / 385.2 MB, free: 37.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.1926, allocations: 63.12 kB / 385.2 MB, free: 37.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1937, allocations: 0.9124 MB / 386.1 MB, free: 37.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1937, allocations: 0 / 386.1 MB, free: 37.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.1938, allocations: 26.94 kB / 386.2 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.1938, allocations: 27.28 kB / 386.2 MB, free: 37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.1948, allocations: 0.7858 MB / 387 MB, free: 36.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.1977, allocations: 2.803 MB / 389.8 MB, free: 33.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.1983, allocations: 0.7377 MB / 390.5 MB, free: 32.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.1988, allocations: 345.3 kB / 390.9 MB, free: 32.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1988, allocations: 4.328 kB / 390.9 MB, free: 32.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.1993, allocations: 381.7 kB / 391.2 MB, free: 31.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.165e-06/0.1993, allocations: 0 / 391.2 MB, free: 31.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002086/0.2014, allocations: 1.185 MB / 392.4 MB, free: 30.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2014, allocations: 114.8 kB / 392.5 MB, free: 30.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.2019, allocations: 0.5643 MB / 393.1 MB, free: 29.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2019, allocations: 33.7 kB / 393.1 MB, free: 29.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2021, allocations: 368 kB / 393.5 MB, free: 29.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2021, allocations: 138 kB / 393.6 MB, free: 29.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2022, allocations: 86.25 kB / 393.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2023, allocations: 362.8 kB / 394.1 MB, free: 28.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.2026, allocations: 217 kB / 394.3 MB, free: 28.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.2029, allocations: 357.7 kB / 394.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.2035, allocations: 0.583 MB / 395.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2035, allocations: 3.938 kB / 395.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008919/0.2044, allocations: 0.7396 MB / 395.9 MB, free: 26.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2044, allocations: 8 kB / 396 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2045, allocations: 4 kB / 396 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003881/0.2049, allocations: 212.7 kB / 396.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2051, allocations: 75.89 kB / 396.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.2071, allocations: 2.662 MB / 398.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2074, allocations: 55.61 kB / 399 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2074, allocations: 20 kB / 399 MB, free: 23.66 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.2077, allocations: 325.5 kB / 399.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.2077, allocations: 59.34 kB / 399.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2079, allocations: 65.27 kB / 399.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2079, allocations: 8 kB / 399.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2079, allocations: 0 / 399.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2079, allocations: 0 / 399.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.2095, allocations: 1.623 MB / 401 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2095, allocations: 0 / 401 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.2098, allocations: 55.89 kB / 401.1 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.2101, allocations: 196.9 kB / 401.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2101, allocations: 7.984 kB / 401.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.212, allocations: 2.653 MB / 404 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.212, allocations: 0 / 404 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/0.2176, allocations: 6.2 MB / 410.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.2179, allocations: 192.3 kB / 410.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.2179, allocations: 12 kB / 410.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2182, allocations: 27.97 kB / 410.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.2183, allocations: 43.94 kB / 410.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2184, allocations: 11.98 kB / 410.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003476/0.2187, allocations: 418.8 kB / 410.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2187, allocations: 0 / 410.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007666/0.2195, allocations: 255.3 kB / 411.1 MB, free: 11.02 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001151/0.2196, allocations: 116 kB / 411.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009709/0.2206, allocations: 0.7291 MB / 411.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2206, allocations: 256 / 411.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.2211, allocations: 478 kB / 412.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.2218, allocations: 146.2 kB / 412.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.2242, allocations: 2.262 MB / 414.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.2246, allocations: 1.086 MB / 415.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.2249, allocations: 92.72 kB / 416 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2249, allocations: 39.38 kB / 416 MB, free: 5.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.225, allocations: 4 kB / 416 MB, free: 5.977 MB / 298.7 MB Notification: Performance of Templates: time 0.01375/0.2387, allocations: 10.63 MB / 426.7 MB, free: 11.38 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches