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.001429/0.001429, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001806/0.001806, allocations: 162.7 kB / 24.82 MB, free: 9.262 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.9736/0.9736, allocations: 177 MB / 205.1 MB, free: 5.441 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.353e-06/1.353e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.947e-05, allocations: 6.312 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004786/0.004806, allocations: 4.652 MB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.0073, allocations: 1.355 MB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.007777, allocations: 39.69 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.008404, allocations: 222.4 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007567/0.009161, allocations: 389.4 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.009565, allocations: 227.5 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.01095, allocations: 1.611 MB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.01157, allocations: 0.5476 MB / 282.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.01278, allocations: 0.9785 MB / 283.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.01372, allocations: 0.7599 MB / 284.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.014, allocations: 164 kB / 284.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.01424, allocations: 168 kB / 284.4 MB, free: 6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.01453, allocations: 462.7 kB / 284.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.01502, allocations: 0.5067 MB / 285.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.01612, allocations: 1.227 MB / 286.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01613, allocations: 7.922 kB / 286.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01613, allocations: 0 / 286.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.01616, allocations: 0 / 286.6 MB, free: 3.801 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.002957/0.01912, allocations: 2.121 MB / 288.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.01918, allocations: 11.98 kB / 288.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.0197, allocations: 248 kB / 289 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.02088, allocations: 0.7954 MB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.02094, allocations: 74.38 kB / 289.9 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.02109, allocations: 104.4 kB / 290 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1192/0.1403, allocations: 0.8064 MB / 290.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1403, allocations: 1.5 kB / 290.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.1404, allocations: 41.45 kB / 290.8 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.587e-05/0.1404, allocations: 45.91 kB / 290.9 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.141, allocations: 287.8 kB / 291.2 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.1442, allocations: 3.363 MB / 294.5 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.1449, allocations: 0.5403 MB / 295.1 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.1453, allocations: 334.5 kB / 295.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.1453, allocations: 13.12 kB / 295.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.1457, allocations: 387.6 kB / 295.8 MB, free: 23.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.354e-06/0.1457, allocations: 0 / 295.8 MB, free: 23.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003214/0.149, allocations: 1.448 MB / 297.2 MB, free: 23.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.149, allocations: 113 kB / 297.3 MB, free: 23.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.1495, allocations: 0.6908 MB / 298 MB, free: 22.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1496, allocations: 47.39 kB / 298.1 MB, free: 22.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1498, allocations: 0.565 MB / 298.6 MB, free: 22.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.15, allocations: 260.7 kB / 298.9 MB, free: 22.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1501, allocations: 146.5 kB / 299 MB, free: 22.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1503, allocations: 0.5959 MB / 299.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1504, allocations: 81 kB / 299.7 MB, free: 21.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1506, allocations: 356.9 kB / 300.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.151, allocations: 407.8 kB / 300.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.151, allocations: 1.375 kB / 300.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007159/0.1517, allocations: 0.5843 MB / 301 MB, free: 20.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1517, allocations: 6.656 kB / 301.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1518, allocations: 4.375 kB / 301.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.1522, allocations: 225.9 kB / 301.3 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1524, allocations: 94.02 kB / 301.4 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.155, allocations: 3.583 MB / 305 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.1552, allocations: 64.08 kB / 305 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1552, allocations: 17.75 kB / 305 MB, free: 18.23 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.1554, allocations: 209.1 kB / 305.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.1555, allocations: 115.8 kB / 305.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.1556, allocations: 107.9 kB / 305.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1556, allocations: 7.344 kB / 305.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1556, allocations: 4.938 kB / 305.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1556, allocations: 7.406 kB / 305.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.1573, allocations: 1.358 MB / 306.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1573, allocations: 3.938 kB / 306.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1574, allocations: 67.28 kB / 306.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.1578, allocations: 207.4 kB / 307.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.1578, allocations: 16.84 kB / 307.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.1606, allocations: 3.526 MB / 310.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1606, allocations: 0 / 310.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.1616, allocations: 0.7905 MB / 311.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.1618, allocations: 168.8 kB / 311.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.1619, allocations: 17.38 kB / 311.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1621, allocations: 27.77 kB / 311.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.1623, allocations: 67.12 kB / 311.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.1623, allocations: 15.48 kB / 311.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003118/0.1626, allocations: 427.7 kB / 312.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1626, allocations: 0 / 312.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.1635, allocations: 353.1 kB / 312.5 MB, free: 13.17 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.0001385/0.1636, allocations: 123.2 kB / 312.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009031/0.1645, allocations: 0.7578 MB / 313.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1645, allocations: 0 / 313.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.1651, allocations: 0.6019 MB / 314 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.1659, allocations: 267.7 kB / 314.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.1686, allocations: 1.996 MB / 316.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1688, allocations: 368 kB / 316.6 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.1691, allocations: 87.14 kB / 316.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.1695, allocations: 306 kB / 317 MB, free: 8.609 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1695, allocations: 0 / 317 MB, free: 8.609 MB / 266.7 MB Notification: Performance of Templates: time 0.03284/0.2023, allocations: 19.73 MB / 336.7 MB, free: 5.223 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.058816822245717]