Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 167.7 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9217/0.9217, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.696e-05, allocations: 6.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003621/0.003638, allocations: 3.643 MB / 255.2 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.005216, allocations: 0.9782 MB / 256.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.005406, allocations: 15.94 kB / 256.2 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.005589, allocations: 71.23 kB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.00587, allocations: 154.6 kB / 256.5 MB, free: 2.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.006167, allocations: 163.6 kB / 256.6 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.006626, allocations: 0.6339 MB / 257.2 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.006837, allocations: 140.6 kB / 257.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.007151, allocations: 339.3 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.007379, allocations: 195.4 kB / 257.9 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.007436, allocations: 59.88 kB / 258 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.007484, allocations: 56 kB / 258 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.007552, allocations: 119.6 kB / 258.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.007676, allocations: 187.5 kB / 258.3 MB, free: 448 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.007999, allocations: 394.6 kB / 258.7 MB, free: 52 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.008001, allocations: 0 / 258.7 MB, free: 52 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.008001, allocations: 0 / 258.7 MB, free: 52 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.008008, allocations: 0 / 258.7 MB, free: 52 kB / 234.7 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.0007306/0.008738, allocations: 0.6917 MB / 259.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.008768, allocations: 11.98 kB / 259.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.008845, allocations: 72.88 kB / 259.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.009117, allocations: 249.5 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.009138, allocations: 33.38 kB / 259.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.009182, allocations: 40.38 kB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.009514, allocations: 372.4 kB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.009529, allocations: 4.188 kB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.009554, allocations: 19.94 kB / 260.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.009564, allocations: 12 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.009713, allocations: 114.9 kB / 260.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.01097, allocations: 1.315 MB / 261.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.01125, allocations: 239.5 kB / 261.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.01148, allocations: 169.4 kB / 262 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.0115, allocations: 8.328 kB / 262 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.01172, allocations: 230.8 kB / 262.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.01172, allocations: 0 / 262.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009593/0.01268, allocations: 0.5016 MB / 262.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.01272, allocations: 89.05 kB / 262.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.01288, allocations: 274.9 kB / 263.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.01291, allocations: 41.7 kB / 263.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.013, allocations: 193.2 kB / 263.3 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.01306, allocations: 142.8 kB / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.01314, allocations: 90.09 kB / 263.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.01323, allocations: 346.7 kB / 263.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.01328, allocations: 40.98 kB / 263.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.01341, allocations: 206 kB / 264.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.01361, allocations: 257.7 kB / 264.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01361, allocations: 3.938 kB / 264.4 MB, free: 9.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000303/0.01391, allocations: 301.6 kB / 264.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01393, allocations: 8 kB / 264.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01394, allocations: 4.469 kB / 264.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.01415, allocations: 96.77 kB / 264.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.0143, allocations: 71.91 kB / 264.9 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.01556, allocations: 1.852 MB / 266.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01568, allocations: 39.77 kB / 266.8 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.0157, allocations: 12 kB / 266.8 MB, free: 7.512 MB / 250.7 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001039/0.0158, allocations: 148.5 kB / 266.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.01585, allocations: 39.91 kB / 267 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.01589, allocations: 47.48 kB / 267 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.0159, allocations: 4.094 kB / 267 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.0159, allocations: 3.984 kB / 267 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.01591, allocations: 3.984 kB / 267 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.01646, allocations: 0.5441 MB / 267.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01646, allocations: 0 / 267.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.01656, allocations: 44.02 kB / 267.6 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.01673, allocations: 92.7 kB / 267.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01675, allocations: 11.98 kB / 267.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.01792, allocations: 1.832 MB / 269.5 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01792, allocations: 3.984 kB / 269.5 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.01828, allocations: 400.4 kB / 269.9 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.01836, allocations: 55.62 kB / 270 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01839, allocations: 8 kB / 270 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01849, allocations: 16 kB / 270 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.01856, allocations: 39.86 kB / 270.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01858, allocations: 11.98 kB / 270.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.01865, allocations: 96.62 kB / 270.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01865, allocations: 0 / 270.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000366/0.01901, allocations: 147.7 kB / 270.3 MB, free: 3.836 MB / 250.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: 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) * 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.0001044/0.01912, allocations: 104.3 kB / 270.4 MB, free: 3.723 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.01955, allocations: 398.9 kB / 270.8 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.01956, allocations: 4.938 kB / 270.8 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.01984, allocations: 335.1 kB / 271.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.02008, allocations: 68.56 kB / 271.2 MB, free: 2.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.0213, allocations: 0.7926 MB / 272 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.492e-05/0.02139, allocations: 122.3 kB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.689e-05/0.02147, allocations: 35.27 kB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.02162, allocations: 131.3 kB / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02162, allocations: 0 / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of Templates: time 0.008942/0.03056, allocations: 6.83 MB / 279.1 MB, free: 10.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6771931098774076]