Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 82.55 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.275e-05, allocations: 4 kB / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 47.56 MB / 362.4 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4416, allocations: 80.08 MB / 442.4 MB, free: 6.227 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.442, allocations: 83.95 kB / 442.5 MB, free: 6.145 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0289/0.4709, allocations: 7.027 MB / 449.5 MB, free: 15.14 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4709, allocations: 0 / 449.5 MB, free: 15.14 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.539e-05/0.471, allocations: 15.98 kB / 449.6 MB, free: 15.12 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001499/0.4725, allocations: 0.6454 MB / 450.2 MB, free: 14.43 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4725, allocations: 16.02 kB / 450.2 MB, free: 14.41 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.4727, allocations: 57.12 kB / 450.3 MB, free: 14.36 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007114/0.4734, allocations: 359.5 kB / 450.6 MB, free: 13.97 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4735, allocations: 16 kB / 450.6 MB, free: 13.95 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.4736, allocations: 27.98 kB / 450.7 MB, free: 13.93 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008463/0.4744, allocations: 266.6 kB / 450.9 MB, free: 13.66 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.4754, allocations: 382.6 kB / 451.3 MB, free: 13.26 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.4754, allocations: 0 / 451.3 MB, free: 13.26 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.4755, allocations: 4 kB / 451.3 MB, free: 13.26 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4755, allocations: 8 kB / 451.3 MB, free: 13.25 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.4791, allocations: 1.767 MB / 453.1 MB, free: 11.39 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4802, allocations: 0.5732 MB / 453.7 MB, free: 10.75 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.4808, allocations: 215 kB / 453.9 MB, free: 10.54 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.4808, allocations: 4.328 kB / 453.9 MB, free: 10.54 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.4814, allocations: 242.3 kB / 454.1 MB, free: 10.29 MB / 347.1 MB Notification: Performance of pre-optimization done (n=43): time 3.307e-06/0.4814, allocations: 2.438 kB / 454.1 MB, free: 10.29 MB / 347.1 MB Notification: Performance of matching and sorting (n=43): time 0.001355/0.4828, allocations: 417.7 kB / 454.5 MB, free: 9.867 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.4829, allocations: 93.06 kB / 454.6 MB, free: 9.758 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.4833, allocations: 237.2 kB / 454.8 MB, free: 9.52 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.4834, allocations: 29.7 kB / 454.9 MB, free: 9.484 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4836, allocations: 262.7 kB / 455.1 MB, free: 9.227 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4837, allocations: 126.1 kB / 455.2 MB, free: 9.102 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.4838, allocations: 8 kB / 455.3 MB, free: 9.094 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4839, allocations: 338.7 kB / 455.6 MB, free: 8.754 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.4842, allocations: 97.12 kB / 455.7 MB, free: 8.66 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.4846, allocations: 223.1 kB / 455.9 MB, free: 8.387 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.485, allocations: 119.9 kB / 456 MB, free: 8.27 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.485, allocations: 0 / 456 MB, free: 8.27 MB / 347.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001162/0.4862, allocations: 431.8 kB / 456.4 MB, free: 7.844 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4862, allocations: 8 kB / 456.4 MB, free: 7.836 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4862, allocations: 7.938 kB / 456.5 MB, free: 7.828 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.4869, allocations: 143.4 kB / 456.6 MB, free: 7.688 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.4874, allocations: 68.09 kB / 456.7 MB, free: 7.621 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/0.4912, allocations: 2.21 MB / 458.9 MB, free: 5.297 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.4917, allocations: 39.62 kB / 458.9 MB, free: 5.258 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.4917, allocations: 16 kB / 458.9 MB, free: 5.242 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.4919, allocations: 120.8 kB / 459 MB, free: 5.117 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.492, allocations: 35.62 kB / 459.1 MB, free: 5.082 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.4922, allocations: 39.67 kB / 459.1 MB, free: 5.039 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4922, allocations: 7.984 kB / 459.1 MB, free: 5.031 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4922, allocations: 8 kB / 459.1 MB, free: 5.023 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4922, allocations: 6.703 kB / 459.1 MB, free: 5.02 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.4942, allocations: 0.8824 MB / 460 MB, free: 4.09 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.4942, allocations: 4 kB / 460 MB, free: 4.086 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.4945, allocations: 35.98 kB / 460.1 MB, free: 4.051 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006298/0.4952, allocations: 142.4 kB / 460.2 MB, free: 3.91 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4952, allocations: 3.938 kB / 460.2 MB, free: 3.906 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.499, allocations: 2.212 MB / 462.4 MB, free: 1.586 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.499, allocations: 0 / 462.4 MB, free: 1.586 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.5006, allocations: 0.6493 MB / 463.1 MB, free: 0.9141 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.5008, allocations: 156.6 kB / 463.2 MB, free: 0.7422 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.5009, allocations: 3.984 kB / 463.2 MB, free: 0.7383 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.5013, allocations: 12 kB / 463.2 MB, free: 0.7266 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5014, allocations: 35.89 kB / 463.3 MB, free: 0.6914 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.5015, allocations: 16 kB / 463.3 MB, free: 0.6758 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.5018, allocations: 188.6 kB / 463.5 MB, free: 0.4961 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5018, allocations: 4 kB / 463.5 MB, free: 0.4922 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.000835/0.5027, allocations: 127.6 kB / 463.6 MB, free: 376 kB / 347.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.5029, allocations: 115.2 kB / 463.7 MB, free: 248 kB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.5041, allocations: 481.7 kB / 464.2 MB, free: 15.76 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5041, allocations: 4 kB / 464.2 MB, free: 15.76 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.5049, allocations: 346.4 kB / 464.5 MB, free: 15.41 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.5054, allocations: 50.89 kB / 464.6 MB, free: 15.36 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.5075, allocations: 0.6042 MB / 465.2 MB, free: 14.72 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.508, allocations: 0.8356 MB / 466 MB, free: 13.86 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5081, allocations: 31.42 kB / 466 MB, free: 13.83 MB / 363.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5081, allocations: 0 / 466 MB, free: 13.83 MB / 363.1 MB Notification: Performance of Templates: time 0.1006/0.6087, allocations: 6.459 MB / 472.5 MB, free: 7.406 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches