Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001296/0.001296, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004544/0.004544, allocations: 174.5 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.97/0.97, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.096e-05, allocations: 4.844 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004308/0.004329, allocations: 4.7 MB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.006705, allocations: 1.401 MB / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.007108, allocations: 39.69 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.007623, allocations: 226.3 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.008319, allocations: 381.5 kB / 280.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.00869, allocations: 231.5 kB / 280.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.009976, allocations: 1.603 MB / 282.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.01056, allocations: 0.5594 MB / 282.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.01159, allocations: 0.9707 MB / 283.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008966/0.01248, allocations: 0.7365 MB / 284.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.01273, allocations: 168 kB / 284.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.01297, allocations: 176 kB / 284.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.01323, allocations: 470.6 kB / 285.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.01366, allocations: 0.5028 MB / 285.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.01462, allocations: 1.223 MB / 286.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01463, allocations: 0 / 286.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01463, allocations: 0 / 286.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.01466, allocations: 0 / 286.9 MB, free: 3.789 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.0017/0.01636, allocations: 1.498 MB / 288.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.01639, allocations: 8.031 kB / 288.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.01676, allocations: 196.8 kB / 288.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.01752, allocations: 0.6028 MB / 289.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.01757, allocations: 74.38 kB / 289.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.01767, allocations: 104.3 kB / 289.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.01852, allocations: 0.8214 MB / 290.2 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.01854, allocations: 3.938 kB / 290.2 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.0186, allocations: 40 kB / 290.2 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.01865, allocations: 45.98 kB / 290.3 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.01905, allocations: 253.7 kB / 290.5 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1214/0.1404, allocations: 2.533 MB / 293 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/0.1413, allocations: 495 kB / 293.5 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.1419, allocations: 306.4 kB / 293.8 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.1419, allocations: 19.45 kB / 293.8 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.1424, allocations: 351.9 kB / 294.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.158e-06/0.1424, allocations: 0 / 294.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003857/0.1463, allocations: 1.283 MB / 295.5 MB, free: 24.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1463, allocations: 117.2 kB / 295.6 MB, free: 23.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.147, allocations: 0.549 MB / 296.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.1471, allocations: 37.45 kB / 296.2 MB, free: 23.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.1473, allocations: 411 kB / 296.6 MB, free: 23.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.1475, allocations: 251.6 kB / 296.8 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1477, allocations: 123.8 kB / 296.9 MB, free: 23.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1478, allocations: 404.2 kB / 297.3 MB, free: 23.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.148, allocations: 69.84 kB / 297.4 MB, free: 23.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1482, allocations: 286.2 kB / 297.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.1487, allocations: 361.1 kB / 298 MB, free: 22.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1487, allocations: 1.25 kB / 298 MB, free: 22.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007802/0.1495, allocations: 466.5 kB / 298.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1495, allocations: 6.281 kB / 298.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1495, allocations: 7.406 kB / 298.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.1501, allocations: 197.5 kB / 298.7 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.1504, allocations: 99.39 kB / 298.8 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.1535, allocations: 2.787 MB / 301.6 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1539, allocations: 58.62 kB / 301.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.1539, allocations: 18.92 kB / 301.6 MB, free: 20.96 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_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_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.0002601/0.1542, allocations: 169.8 kB / 301.8 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1543, allocations: 78.17 kB / 301.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1544, allocations: 104 kB / 302 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.1544, allocations: 7.125 kB / 302 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1544, allocations: 7.906 kB / 302 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1544, allocations: 5.953 kB / 302 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1559, allocations: 1.047 MB / 303.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1559, allocations: 0 / 303.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.156, allocations: 63.39 kB / 303.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.1564, allocations: 209.4 kB / 303.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.1565, allocations: 18.64 kB / 303.3 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.1587, allocations: 2.779 MB / 306.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1587, allocations: 0 / 306.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.1594, allocations: 0.633 MB / 306.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1596, allocations: 130.3 kB / 306.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.1596, allocations: 15.44 kB / 306.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1598, allocations: 22.42 kB / 306.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1599, allocations: 63.88 kB / 307 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.1599, allocations: 18.55 kB / 307 MB, free: 18.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1601, allocations: 277.7 kB / 307.3 MB, free: 18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1601, allocations: 0 / 307.3 MB, free: 18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006546/0.1608, allocations: 345.5 kB / 307.6 MB, free: 17.93 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_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 (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.0001309/0.1609, allocations: 113.8 kB / 307.7 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000741/0.1617, allocations: 0.6536 MB / 308.4 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.1617, allocations: 7.438 kB / 308.4 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.1621, allocations: 0.5253 MB / 308.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.1627, allocations: 261.8 kB / 309.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.1685, allocations: 1.971 MB / 311.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1688, allocations: 312.1 kB / 311.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000263/0.1691, allocations: 91.14 kB / 311.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003454/0.1725, allocations: 253.1 kB / 311.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1725, allocations: 0 / 311.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Templates: time 0.0497/0.2222, allocations: 19.62 MB / 331.4 MB, free: 10.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.0337779228575528]