Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001418/0.001418, allocations: 80.8 kB / 22.28 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.001521/0.001521, allocations: 170.1 kB / 25.7 MB, free: 8.422 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.9856/0.9856, allocations: 158.6 MB / 187.6 MB, free: 2.766 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.775e-05, allocations: 2.312 kB / 251.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004709/0.004727, allocations: 4.606 MB / 256.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.00677, allocations: 1.383 MB / 257.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.007001, allocations: 31.75 kB / 257.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.007496, allocations: 226.3 kB / 257.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.008094, allocations: 381.5 kB / 258.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.008377, allocations: 211.6 kB / 258.4 MB, free: 328 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009853/0.009362, allocations: 1.595 MB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.009953, allocations: 0.5235 MB / 260.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.01097, allocations: 0.9473 MB / 261.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.01189, allocations: 0.7405 MB / 262.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.01203, allocations: 164 kB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.01217, allocations: 160 kB / 262.5 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.01245, allocations: 462.7 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.0128, allocations: 0.4989 MB / 263.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.0138, allocations: 1.211 MB / 264.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.0138, allocations: 0 / 264.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0138, allocations: 0 / 264.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.01381, allocations: 0 / 264.7 MB, free: 9.988 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001462/0.01528, allocations: 1.463 MB / 266.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01531, allocations: 19.98 kB / 266.2 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.0155, allocations: 168.8 kB / 266.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.01609, allocations: 0.5288 MB / 266.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.01613, allocations: 74.38 kB / 267 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.01623, allocations: 96.38 kB / 267.1 MB, free: 7.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.01706, allocations: 0.8174 MB / 267.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.01709, allocations: 7.938 kB / 267.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.01715, allocations: 47.92 kB / 267.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.01719, allocations: 38 kB / 268 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.01758, allocations: 249.8 kB / 268.2 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.02008, allocations: 2.519 MB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.02062, allocations: 0.4924 MB / 271.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.02106, allocations: 318.1 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.02109, allocations: 12.66 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.02142, allocations: 347.5 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 1.973e-06/0.02142, allocations: 4 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.002706/0.02413, allocations: 1.288 MB / 273.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.02418, allocations: 115.5 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.02454, allocations: 0.535 MB / 273.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.02458, allocations: 41.7 kB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.02477, allocations: 406.6 kB / 274.3 MB, free: 164 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.02491, allocations: 242 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02505, allocations: 130.6 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.02517, allocations: 394.6 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.02528, allocations: 65.97 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.02549, allocations: 278.2 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.02585, allocations: 374.1 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.02585, allocations: 0 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005561/0.02641, allocations: 465.9 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.02643, allocations: 8 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.02643, allocations: 7.938 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.02688, allocations: 208.5 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.02708, allocations: 99.83 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.02991, allocations: 2.784 MB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.03011, allocations: 63.61 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.03014, allocations: 20 kB / 279.3 MB, free: 10.83 MB / 266.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.03031, allocations: 166.5 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.03039, allocations: 75.91 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.505e-05/0.03049, allocations: 104.3 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.03049, allocations: 11.94 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.0305, allocations: 0 / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.0305, allocations: 3.984 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.03185, allocations: 1.036 MB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03185, allocations: 0 / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.03201, allocations: 63.91 kB / 280.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.03239, allocations: 207.6 kB / 281 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.03242, allocations: 15.98 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.03484, allocations: 2.786 MB / 283.8 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.03484, allocations: 3.938 kB / 283.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.03554, allocations: 0.6296 MB / 284.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.03571, allocations: 127.2 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.03577, allocations: 16 kB / 284.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.03593, allocations: 19.98 kB / 284.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.03605, allocations: 68.52 kB / 284.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.03607, allocations: 16 kB / 284.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.03628, allocations: 260.6 kB / 284.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03628, allocations: 0 / 284.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005608/0.03685, allocations: 355.2 kB / 285.3 MB, free: 4.719 MB / 266.7 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.03699, allocations: 100.4 kB / 285.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.03781, allocations: 0.6699 MB / 286 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.03782, allocations: 4 kB / 286.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.03833, allocations: 0.5181 MB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.0389, allocations: 266.7 kB / 286.8 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.04128, allocations: 1.924 MB / 288.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.04156, allocations: 308 kB / 289.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.04175, allocations: 95.05 kB / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.04214, allocations: 257.1 kB / 289.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04215, allocations: 0 / 289.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of Templates: time 0.02188/0.06403, allocations: 19.46 MB / 308.9 MB, free: 13.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.955432646907866]