Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008984/0.0008984, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009404/0.0009404, allocations: 165 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8837/0.8837, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.039e-05, allocations: 6.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003694/0.003705, allocations: 4.65 MB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.005546, allocations: 1.405 MB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.005805, allocations: 39.75 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.00626, allocations: 230.3 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.006818, allocations: 377.5 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.007117, allocations: 239.4 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.008136, allocations: 1.618 MB / 281.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.008629, allocations: 0.5594 MB / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007889/0.009417, allocations: 0.9824 MB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.01008, allocations: 0.7327 MB / 284.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.01022, allocations: 172 kB / 284.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.01039, allocations: 164 kB / 284.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.01066, allocations: 478.5 kB / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.01102, allocations: 0.5067 MB / 285.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008058/0.01183, allocations: 1.215 MB / 286.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01183, allocations: 3.984 kB / 286.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01183, allocations: 0 / 286.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.01185, allocations: 0 / 286.7 MB, free: 3.785 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.00144/0.01328, allocations: 1.494 MB / 288.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.01331, allocations: 19.92 kB / 288.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.01362, allocations: 192.8 kB / 288.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.01425, allocations: 0.6028 MB / 289 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.01429, allocations: 78.36 kB / 289.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.01439, allocations: 104.3 kB / 289.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.01516, allocations: 0.8175 MB / 290 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.01518, allocations: 7.938 kB / 290.1 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.01524, allocations: 40 kB / 290.1 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.01528, allocations: 38 kB / 290.1 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.01567, allocations: 257.7 kB / 290.4 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1053/0.1209, allocations: 2.539 MB / 292.9 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.1215, allocations: 488.6 kB / 293.4 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.122, allocations: 307.9 kB / 293.7 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.122, allocations: 16.88 kB / 293.7 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.1224, allocations: 352.8 kB / 294.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.385e-06/0.1224, allocations: 1.484 kB / 294.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002755/0.1252, allocations: 1.281 MB / 295.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1252, allocations: 113.3 kB / 295.5 MB, free: 24.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.1256, allocations: 0.5476 MB / 296 MB, free: 24.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1257, allocations: 49.05 kB / 296 MB, free: 24.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1258, allocations: 406.4 kB / 296.4 MB, free: 23.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1259, allocations: 252.9 kB / 296.7 MB, free: 23.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1261, allocations: 128.3 kB / 296.8 MB, free: 23.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.1261, allocations: 401.8 kB / 297.2 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1263, allocations: 68.08 kB / 297.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1264, allocations: 285.4 kB / 297.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1268, allocations: 359.6 kB / 297.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1268, allocations: 4.875 kB / 297.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005681/0.1273, allocations: 460.4 kB / 298.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1274, allocations: 7.094 kB / 298.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1274, allocations: 7.219 kB / 298.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.1278, allocations: 203.3 kB / 298.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.128, allocations: 94.42 kB / 298.7 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.1302, allocations: 2.783 MB / 301.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1304, allocations: 57.89 kB / 301.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1305, allocations: 23.59 kB / 301.5 MB, free: 21.17 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.0001644/0.1306, allocations: 161.3 kB / 301.7 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.1307, allocations: 79.58 kB / 301.8 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.153e-05/0.1308, allocations: 104.8 kB / 301.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1308, allocations: 10.88 kB / 301.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1308, allocations: 5.312 kB / 301.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1308, allocations: 4.031 kB / 301.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.132, allocations: 1.044 MB / 302.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.132, allocations: 0 / 302.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1321, allocations: 64.09 kB / 303 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.1325, allocations: 200.7 kB / 303.2 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1325, allocations: 10.47 kB / 303.2 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.1345, allocations: 2.787 MB / 306 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1345, allocations: 0 / 306 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.1351, allocations: 0.6251 MB / 306.6 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1352, allocations: 129.2 kB / 306.7 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.1353, allocations: 14.91 kB / 306.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1354, allocations: 22.2 kB / 306.8 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.1355, allocations: 68.97 kB / 306.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1356, allocations: 20.58 kB / 306.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1357, allocations: 267.3 kB / 307.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1357, allocations: 0 / 307.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004606/0.1362, allocations: 350 kB / 307.5 MB, free: 18.1 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.0001065/0.1363, allocations: 110 kB / 307.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.1369, allocations: 0.6617 MB / 308.2 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.1369, allocations: 7.375 kB / 308.2 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.1373, allocations: 0.522 MB / 308.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.1377, allocations: 266.6 kB / 309 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1396, allocations: 1.961 MB / 311 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.1398, allocations: 315.9 kB / 311.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1399, allocations: 91.12 kB / 311.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.1403, allocations: 257.1 kB / 311.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1403, allocations: 0 / 311.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of Templates: time 0.01764/0.1579, allocations: 19.62 MB / 331.3 MB, free: 11.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.769067896064371]