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.0009526/0.0009526, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001322/0.001322, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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 1.011/1.011, allocations: 177 MB / 204.8 MB, free: 5.562 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.152e-06/1.152e-06, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.753e-05, allocations: 2.312 kB / 272.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004988/0.005006, allocations: 4.765 MB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.00674, allocations: 1.355 MB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.006991, allocations: 39.69 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.00754, allocations: 234.3 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.008112, allocations: 377.5 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.008417, allocations: 231.5 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.009805, allocations: 1.611 MB / 281.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/0.01037, allocations: 0.5476 MB / 282.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.0111, allocations: 0.9746 MB / 283 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.01176, allocations: 0.7443 MB / 283.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.01196, allocations: 168 kB / 284 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.01219, allocations: 164 kB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.01246, allocations: 470.7 kB / 284.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.01284, allocations: 0.5183 MB / 285.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.01378, allocations: 1.215 MB / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01379, allocations: 0 / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01379, allocations: 0 / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.0138, allocations: 3.938 kB / 286.3 MB, free: 3.938 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.002345/0.01614, allocations: 2.157 MB / 288.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01618, allocations: 11.98 kB / 288.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.01653, allocations: 252 kB / 288.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.0174, allocations: 0.8482 MB / 289.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.01744, allocations: 78.36 kB / 289.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.01755, allocations: 104.4 kB / 289.8 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1416/0.1592, allocations: 0.8705 MB / 290.6 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.1592, allocations: 1.281 kB / 290.6 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.1593, allocations: 41.84 kB / 290.7 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-05/0.1594, allocations: 42.94 kB / 290.7 MB, free: 24.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.1602, allocations: 385.8 kB / 291.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.1643, allocations: 3.617 MB / 294.7 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.1652, allocations: 0.6016 MB / 295.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.1659, allocations: 378.4 kB / 295.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.166, allocations: 12.84 kB / 295.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/0.1666, allocations: 413.2 kB / 296.1 MB, free: 22.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.727e-06/0.1666, allocations: 0 / 296.1 MB, free: 22.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004367/0.1709, allocations: 1.882 MB / 298 MB, free: 22.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.171, allocations: 117.4 kB / 298.1 MB, free: 22.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.1718, allocations: 0.7075 MB / 298.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.1718, allocations: 44.39 kB / 298.8 MB, free: 22.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.1721, allocations: 0.5543 MB / 299.4 MB, free: 21.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1723, allocations: 260.8 kB / 299.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1724, allocations: 141.4 kB / 299.8 MB, free: 21.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1726, allocations: 0.5853 MB / 300.4 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.1728, allocations: 117.1 kB / 300.5 MB, free: 20.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.1731, allocations: 378.3 kB / 300.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.1736, allocations: 454.3 kB / 301.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1736, allocations: 4.875 kB / 301.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009869/0.1746, allocations: 0.658 MB / 302 MB, free: 19.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1746, allocations: 7.5 kB / 302 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1746, allocations: 4.875 kB / 302 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.1752, allocations: 247.2 kB / 302.2 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1754, allocations: 94.39 kB / 302.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.1786, allocations: 3.78 MB / 306.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1789, allocations: 83.08 kB / 306.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.1789, allocations: 27.28 kB / 306.2 MB, free: 17.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_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) * 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.0001931/0.1791, allocations: 214.3 kB / 306.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.1792, allocations: 115.9 kB / 306.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.1793, allocations: 100.8 kB / 306.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1793, allocations: 6.031 kB / 306.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1793, allocations: 0 / 306.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1793, allocations: 10.17 kB / 306.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.181, allocations: 1.644 MB / 308.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.181, allocations: 0 / 308.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1812, allocations: 63.34 kB / 308.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.1816, allocations: 236.5 kB / 308.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.1816, allocations: 17.42 kB / 308.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.1845, allocations: 3.713 MB / 312.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1845, allocations: 2.859 kB / 312.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.1854, allocations: 0.8764 MB / 313.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.1856, allocations: 194.7 kB / 313.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.1857, allocations: 19.94 kB / 313.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1859, allocations: 35.95 kB / 313.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.186, allocations: 88.44 kB / 313.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.186, allocations: 23.98 kB / 313.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003007/0.1863, allocations: 446.9 kB / 314 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1863, allocations: 4 kB / 314 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005985/0.1869, allocations: 352.1 kB / 314.3 MB, free: 10.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0001388/0.1871, allocations: 127.2 kB / 314.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.188, allocations: 0.8087 MB / 315.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.188, allocations: 2.656 kB / 315.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.1885, allocations: 0.6332 MB / 315.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.1891, allocations: 262.2 kB / 316.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.1914, allocations: 2.011 MB / 318.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1916, allocations: 372 kB / 318.5 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.1918, allocations: 119.1 kB / 318.6 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1919, allocations: 56.5 kB / 318.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1919, allocations: 0 / 318.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of Templates: time 0.02058/0.2125, allocations: 18.64 MB / 337.3 MB, free: 3.656 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: 3.404816572088748]