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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 95.27 kB / 17.3 MB, free: 6.391 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.0008165/0.0008166, allocations: 172.5 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008689/0.000869, allocations: 12 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1515, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004996/0.1566, allocations: 3.265 MB / 332.2 MB, free: 480 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1591, allocations: 1.026 MB / 333.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.1594, allocations: 11.94 kB / 333.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1597, allocations: 75.41 kB / 333.3 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008867/0.1606, allocations: 218.9 kB / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1609, allocations: 123.8 kB / 333.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1622, allocations: 1.063 MB / 334.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.163, allocations: 481.7 kB / 335.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.1636, allocations: 302.7 kB / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.1642, allocations: 426.2 kB / 335.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.1643, allocations: 44 kB / 336 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.1644, allocations: 40 kB / 336 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.1647, allocations: 211.2 kB / 336.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.1652, allocations: 435.5 kB / 336.6 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.1666, allocations: 1.18 MB / 337.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1666, allocations: 0 / 337.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1667, allocations: 0 / 337.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.1667, allocations: 0 / 337.8 MB, free: 10.85 MB / 286.1 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.002135/0.1688, allocations: 1.022 MB / 338.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1689, allocations: 8.031 kB / 338.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.1691, allocations: 91.81 kB / 338.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.1701, allocations: 0.5847 MB / 339.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.1701, allocations: 53.23 kB / 339.6 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1703, allocations: 67.91 kB / 339.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.1719, allocations: 0.9189 MB / 340.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.1719, allocations: 0 / 340.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.172, allocations: 24 kB / 340.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.1721, allocations: 33.3 kB / 340.6 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.1736, allocations: 0.8014 MB / 341.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.1783, allocations: 2.819 MB / 344.2 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.1794, allocations: 0.7489 MB / 345 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.18, allocations: 349.3 kB / 345.3 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1801, allocations: 4.328 kB / 345.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.1808, allocations: 389.7 kB / 345.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.554e-06/0.1808, allocations: 0 / 345.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002899/0.1837, allocations: 1.216 MB / 346.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1838, allocations: 110.8 kB / 347 MB, free: 1.262 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007759/0.1846, allocations: 0.5644 MB / 347.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.1847, allocations: 37.73 kB / 347.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.185, allocations: 355.9 kB / 348 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1851, allocations: 138 kB / 348.1 MB, free: 156 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.1852, allocations: 49.69 kB / 348.2 MB, free: 100 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.1855, allocations: 362.8 kB / 348.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.1859, allocations: 225 kB / 348.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.1864, allocations: 369.7 kB / 349.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/0.1874, allocations: 0.5769 MB / 349.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.1874, allocations: 11.94 kB / 349.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001497/0.189, allocations: 0.7513 MB / 350.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.189, allocations: 11.98 kB / 350.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.189, allocations: 4 kB / 350.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.1896, allocations: 208.6 kB / 350.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.19, allocations: 75.97 kB / 350.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.1931, allocations: 2.666 MB / 353.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.1936, allocations: 67.55 kB / 353.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.1937, allocations: 12 kB / 353.5 MB, free: 10.51 MB / 302.1 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.0006609/0.1943, allocations: 333.5 kB / 353.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1945, allocations: 55.34 kB / 353.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1946, allocations: 69.27 kB / 353.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1947, allocations: 4 kB / 353.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1947, allocations: 0 / 353.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1947, allocations: 7.984 kB / 353.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.1975, allocations: 1.635 MB / 355.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1975, allocations: 0 / 355.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.1978, allocations: 55.91 kB / 355.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.1983, allocations: 200.9 kB / 355.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.1983, allocations: 4 kB / 355.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.2013, allocations: 2.659 MB / 358.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2013, allocations: 0 / 358.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.2031, allocations: 1.131 MB / 359.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.2035, allocations: 192.3 kB / 359.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.2036, allocations: 15.98 kB / 359.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.2039, allocations: 23.98 kB / 359.8 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.204, allocations: 47.92 kB / 359.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.2041, allocations: 8 kB / 359.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.2047, allocations: 426.8 kB / 360.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2047, allocations: 0 / 360.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008222/0.2055, allocations: 199.4 kB / 360.5 MB, free: 3.219 MB / 302.1 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.0002148/0.2058, allocations: 119.2 kB / 360.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.2071, allocations: 0.729 MB / 361.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.2072, allocations: 4.312 kB / 361.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.2079, allocations: 489.9 kB / 361.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.2087, allocations: 142.2 kB / 362 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.2119, allocations: 1.822 MB / 363.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.2128, allocations: 1.07 MB / 364.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003739/0.2132, allocations: 96.72 kB / 365 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2133, allocations: 35.44 kB / 365 MB, free: 14.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2133, allocations: 0 / 365 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Templates: time 0.01943/0.2327, allocations: 9.285 MB / 374.3 MB, free: 5.355 MB / 318.1 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/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