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.001122/0.001122, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00122/0.00122, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 1.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.594 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.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.93e-05, allocations: 5.125 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004686/0.004705, allocations: 4.747 MB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.007029, allocations: 1.351 MB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/0.007539, allocations: 35.75 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.01127, allocations: 234.3 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008354/0.0121, allocations: 377.6 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.01254, allocations: 227.5 kB / 280 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.01695, allocations: 1.615 MB / 281.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/0.01764, allocations: 0.5437 MB / 282.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01865, allocations: 0.9785 MB / 283.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.01956, allocations: 0.7482 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00323/0.02279, allocations: 164 kB / 284 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.02304, allocations: 168 kB / 284.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.02351, allocations: 470.7 kB / 284.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.02401, allocations: 0.5106 MB / 285.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.02524, allocations: 1.223 MB / 286.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02524, allocations: 0 / 286.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02525, allocations: 0 / 286.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.02526, allocations: 4 kB / 286.4 MB, free: 4.281 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.006092/0.03135, allocations: 2.149 MB / 288.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.0314, allocations: 15.98 kB / 288.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.03494, allocations: 252 kB / 288.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.03611, allocations: 0.8521 MB / 289.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.03617, allocations: 74.38 kB / 289.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.03631, allocations: 96.38 kB / 289.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1434/0.1797, allocations: 0.8762 MB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.1797, allocations: 1.531 kB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/0.1798, allocations: 41.45 kB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.1799, allocations: 43.83 kB / 290.8 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009117/0.1808, allocations: 391.6 kB / 291.1 MB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/0.1844, allocations: 3.618 MB / 294.8 MB, free: 26.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1852, allocations: 0.6022 MB / 295.4 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.1858, allocations: 377.7 kB / 295.7 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1858, allocations: 13.47 kB / 295.8 MB, free: 25.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.1863, allocations: 409 kB / 296.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.104e-06/0.1863, allocations: 0 / 296.2 MB, free: 25.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003982/0.1903, allocations: 1.885 MB / 298 MB, free: 25.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1903, allocations: 117.3 kB / 298.1 MB, free: 25.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.1909, allocations: 0.7039 MB / 298.9 MB, free: 24.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.191, allocations: 42.84 kB / 298.9 MB, free: 24.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1912, allocations: 0.5536 MB / 299.4 MB, free: 24.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1913, allocations: 260.8 kB / 299.7 MB, free: 24.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1915, allocations: 142.2 kB / 299.8 MB, free: 24.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1916, allocations: 0.5944 MB / 300.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1918, allocations: 116.9 kB / 300.6 MB, free: 23.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1921, allocations: 380 kB / 300.9 MB, free: 23.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.1926, allocations: 452.8 kB / 301.4 MB, free: 23.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1926, allocations: 1.438 kB / 301.4 MB, free: 23.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008918/0.1935, allocations: 0.6612 MB / 302 MB, free: 22.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1935, allocations: 6.656 kB / 302 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1935, allocations: 4.281 kB / 302 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.194, allocations: 242.7 kB / 302.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.1942, allocations: 92.53 kB / 302.4 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1972, allocations: 3.789 MB / 306.2 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1975, allocations: 81.09 kB / 306.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.1975, allocations: 27.94 kB / 306.3 MB, free: 19.65 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.0001815/0.1977, allocations: 208.8 kB / 306.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1978, allocations: 115.8 kB / 306.6 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/0.1979, allocations: 105.3 kB / 306.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1979, allocations: 6.031 kB / 306.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1979, allocations: 0 / 306.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1979, allocations: 6.266 kB / 306.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.1996, allocations: 1.643 MB / 308.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1996, allocations: 0 / 308.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1997, allocations: 59.75 kB / 308.4 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.2001, allocations: 234.2 kB / 308.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.2002, allocations: 15.92 kB / 308.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.2031, allocations: 3.722 MB / 312.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2031, allocations: 0 / 312.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2042, allocations: 0.8797 MB / 313.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.2045, allocations: 187.2 kB / 313.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.2045, allocations: 16 kB / 313.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2047, allocations: 39.89 kB / 313.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.2049, allocations: 88.5 kB / 313.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.2049, allocations: 19.98 kB / 313.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.2053, allocations: 450.9 kB / 314 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2053, allocations: 4 kB / 314 MB, free: 12.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007491/0.206, allocations: 351.2 kB / 314.4 MB, free: 12.34 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.0001414/0.2062, allocations: 130.1 kB / 314.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00096/0.2071, allocations: 0.8099 MB / 315.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2071, allocations: 0 / 315.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.2076, allocations: 0.6409 MB / 315.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.2083, allocations: 263 kB / 316.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2109, allocations: 2.013 MB / 318.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2111, allocations: 368 kB / 318.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.2113, allocations: 111.8 kB / 318.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.2114, allocations: 56.48 kB / 318.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.2114, allocations: 0 / 318.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of Templates: time 0.02005/0.2315, allocations: 18.63 MB / 337.4 MB, free: 5.582 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.265108465915546]