Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.001951, 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.002007/0.002008, 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 1.885/1.885, allocations: 222.9 MB / 241.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 50.45 kB / 300.6 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1659, allocations: 49.45 MB / 350.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.008511/0.1745, allocations: 3.739 MB / 353.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1776, allocations: 0.9002 MB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/0.1783, allocations: 11.94 kB / 354.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1787, allocations: 55.55 kB / 354.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008117/0.1796, allocations: 127 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.1804, allocations: 135.9 kB / 355 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1816, allocations: 0.5757 MB / 355.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.1821, allocations: 187.2 kB / 355.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.1826, allocations: 199.2 kB / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.1831, allocations: 234.9 kB / 356.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1833, allocations: 32 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1834, allocations: 28 kB / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1835, allocations: 95.55 kB / 356.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.1839, allocations: 250.7 kB / 356.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.1846, allocations: 474.9 kB / 357.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1847, allocations: 0 / 357.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1847, allocations: 0 / 357.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1847, allocations: 4 kB / 357.1 MB, free: 13.54 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002329/0.1871, allocations: 0.7845 MB / 357.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.1871, allocations: 8.031 kB / 357.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1873, allocations: 64.27 kB / 357.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.1882, allocations: 356.2 kB / 358.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.1883, allocations: 37.38 kB / 358.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1884, allocations: 40.38 kB / 358.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1897, allocations: 465.5 kB / 358.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1897, allocations: 4 kB / 358.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.1898, allocations: 16 kB / 358.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1898, allocations: 12 kB / 358.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009972/0.1909, allocations: 323.7 kB / 359.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.1949, allocations: 1.855 MB / 361 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1962, allocations: 0.6047 MB / 361.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009289/0.1971, allocations: 273.3 kB / 361.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.1972, allocations: 4.328 kB / 361.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007684/0.198, allocations: 273.1 kB / 362.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/0.198, allocations: 0 / 362.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003999/0.202, allocations: 0.8383 MB / 363 MB, free: 7.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.2022, allocations: 89.11 kB / 363.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.2028, allocations: 312.5 kB / 363.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.2029, allocations: 37.7 kB / 363.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.2032, allocations: 216.3 kB / 363.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.2034, allocations: 142 kB / 363.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.2037, allocations: 86.25 kB / 363.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.2039, allocations: 350.7 kB / 364.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.2043, allocations: 117.1 kB / 364.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.2049, allocations: 260.9 kB / 364.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.2057, allocations: 378.7 kB / 365 MB, free: 5.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.2058, allocations: 4 kB / 365 MB, free: 5.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001568/0.2073, allocations: 0.5011 MB / 365.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.2074, allocations: 10.97 kB / 365.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.2074, allocations: 8 kB / 365.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007295/0.2081, allocations: 153.1 kB / 365.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.2086, allocations: 63.91 kB / 365.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.2129, allocations: 2.307 MB / 368 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.2135, allocations: 47.72 kB / 368 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.2135, allocations: 19.94 kB / 368.1 MB, free: 1.953 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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004551/0.214, allocations: 177.8 kB / 368.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2141, allocations: 43.52 kB / 368.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.2142, allocations: 44.3 kB / 368.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-05/0.2144, allocations: 8 kB / 368.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2144, allocations: 3.938 kB / 368.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2144, allocations: 4 kB / 368.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.217, allocations: 1.02 MB / 369.4 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.2171, allocations: 3.984 kB / 369.4 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2174, allocations: 31.98 kB / 369.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.2181, allocations: 148.7 kB / 369.5 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.2181, allocations: 11.94 kB / 369.5 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3137/0.5318, allocations: 2.291 MB / 371.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5319, allocations: 2.078 kB / 371.8 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.5341, allocations: 0.7179 MB / 372.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.5345, allocations: 150 kB / 372.7 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.5346, allocations: 9.906 kB / 372.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.535, allocations: 15.83 kB / 372.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.5352, allocations: 33.73 kB / 372.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.5353, allocations: 17.7 kB / 372.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005376/0.5358, allocations: 219.6 kB / 373 MB, free: 23.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5359, allocations: 0 / 373 MB, free: 23.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00132/0.5372, allocations: 144.1 kB / 373.1 MB, free: 23.71 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.5375, allocations: 122.4 kB / 373.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.5393, allocations: 0.5329 MB / 373.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5394, allocations: 4.531 kB / 373.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.5404, allocations: 381.9 kB / 374.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5414, allocations: 76.98 kB / 374.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.5447, allocations: 1.06 MB / 375.3 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.5452, allocations: 0.8335 MB / 376.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5454, allocations: 28.72 kB / 376.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.788e-06/0.5454, allocations: 3.562 kB / 376.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of Templates: time 0.02258/0.568, allocations: 6.98 MB / 383.1 MB, free: 20.21 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches