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.001035/0.001035, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001192/0.001192, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9436/0.9436, allocations: 158.6 MB / 187.5 MB, free: 2.816 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 2.244e-06/2.244e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.8e-05, allocations: 6.25 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003783/0.003801, allocations: 3.585 MB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005184, allocations: 0.9474 MB / 256 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.005361, allocations: 11.94 kB / 256 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.005543, allocations: 83.16 kB / 256.1 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.005792, allocations: 150.6 kB / 256.3 MB, free: 2.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.006057, allocations: 167.7 kB / 256.4 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.006488, allocations: 0.6222 MB / 257.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.006707, allocations: 143.9 kB / 257.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.007036, allocations: 339.3 kB / 257.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.007256, allocations: 191.5 kB / 257.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.00731, allocations: 56 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.007363, allocations: 56 kB / 257.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.007441, allocations: 123.5 kB / 257.9 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.007561, allocations: 183.6 kB / 258.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.007883, allocations: 398.5 kB / 258.5 MB, free: 168 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007885, allocations: 0 / 258.5 MB, free: 168 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007886, allocations: 0 / 258.5 MB, free: 168 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007891, allocations: 0 / 258.5 MB, free: 168 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.0008846/0.008775, allocations: 0.9519 MB / 259.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.008811, allocations: 11.98 kB / 259.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.008899, allocations: 88.61 kB / 259.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.009211, allocations: 308.2 kB / 259.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.009234, allocations: 33.38 kB / 259.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.00928, allocations: 44.38 kB / 259.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.009643, allocations: 381.3 kB / 260.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.009657, allocations: 192 / 260.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.009683, allocations: 19.94 kB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.009697, allocations: 12 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.009854, allocations: 130.8 kB / 260.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.01118, allocations: 1.77 MB / 262.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.01149, allocations: 268.8 kB / 262.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.01174, allocations: 184.2 kB / 262.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.01176, allocations: 12.31 kB / 262.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.01199, allocations: 234.2 kB / 262.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.01199, allocations: 0 / 262.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.00112/0.01311, allocations: 0.5822 MB / 263.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.01315, allocations: 89.11 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01333, allocations: 330.1 kB / 263.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01335, allocations: 33.7 kB / 263.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01347, allocations: 271.4 kB / 264.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.01354, allocations: 142.8 kB / 264.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01362, allocations: 91.8 kB / 264.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01375, allocations: 0.5157 MB / 265 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.01381, allocations: 48.95 kB / 265 MB, free: 9.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01397, allocations: 268.8 kB / 265.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.0142, allocations: 305.8 kB / 265.6 MB, free: 8.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.0142, allocations: 0 / 265.6 MB, free: 8.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003477/0.01455, allocations: 368.4 kB / 265.9 MB, free: 8.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01456, allocations: 8 kB / 265.9 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01456, allocations: 4 kB / 265.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.01479, allocations: 112 kB / 266 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01492, allocations: 67.84 kB / 266.1 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.01647, allocations: 2.552 MB / 268.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01659, allocations: 47.72 kB / 268.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.01661, allocations: 16 kB / 268.7 MB, free: 5.348 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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0001201/0.01673, allocations: 196.3 kB / 268.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.01677, allocations: 51.86 kB / 269 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.01682, allocations: 51.47 kB / 269 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01682, allocations: 8 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01683, allocations: 0 / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01683, allocations: 3.984 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.01748, allocations: 0.7127 MB / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01748, allocations: 3.984 kB / 269.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/0.01758, allocations: 35.92 kB / 269.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.018, allocations: 107 kB / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.01805, allocations: 8 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.01983, allocations: 2.54 MB / 272.4 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01984, allocations: 3.938 kB / 272.4 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.02039, allocations: 0.5061 MB / 272.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.02055, allocations: 79.59 kB / 273 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.0206, allocations: 7.938 kB / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.02083, allocations: 19.98 kB / 273.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.02095, allocations: 39.88 kB / 273.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.02099, allocations: 11.98 kB / 273.1 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.02119, allocations: 218.9 kB / 273.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02119, allocations: 0 / 273.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.02178, allocations: 143.8 kB / 273.5 MB, free: 428 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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.0001323/0.02191, allocations: 111.4 kB / 273.6 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.02253, allocations: 0.4891 MB / 274.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02253, allocations: 0 / 274.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.02285, allocations: 381.8 kB / 274.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.02316, allocations: 76.55 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.02452, allocations: 0.7932 MB / 275.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.02462, allocations: 122.1 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.02473, allocations: 39.34 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.02489, allocations: 146.2 kB / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02489, allocations: 0 / 275.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Templates: time 0.009809/0.0347, allocations: 6.887 MB / 282.5 MB, free: 7.324 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 -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.8069436769001186]