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.001872/0.001872, allocations: 86.02 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002297/0.002297, allocations: 158.3 kB / 23.95 MB, free: 4.168 MB / 14.72 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.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.532e-06/1.532e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.218e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006495/0.006517, allocations: 4.345 MB / 329.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.00944, allocations: 1.333 MB / 330.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.009802, allocations: 39.44 kB / 330.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000803/0.0106, allocations: 221.9 kB / 331 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01166, allocations: 385.7 kB / 331.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.01221, allocations: 233.9 kB / 331.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.01409, allocations: 1.606 MB / 333.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008507/0.01494, allocations: 0.541 MB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.01624, allocations: 0.9716 MB / 334.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.01733, allocations: 0.6964 MB / 335.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.01756, allocations: 163.7 kB / 335.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.0179, allocations: 168.2 kB / 335.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.01841, allocations: 462.5 kB / 336.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.01916, allocations: 0.5005 MB / 336.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.02163, allocations: 2.145 MB / 338.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02163, allocations: 4 kB / 338.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02163, allocations: 0 / 338.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.02165, allocations: 4 kB / 338.8 MB, free: 7.242 MB / 302.1 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.003583/0.02523, allocations: 1.88 MB / 340.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.02528, allocations: 15.98 kB / 340.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.02581, allocations: 176 kB / 340.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.02745, allocations: 0.9118 MB / 341.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.02752, allocations: 74.36 kB / 341.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.02771, allocations: 104.3 kB / 342 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.03029, allocations: 1.497 MB / 343.5 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.03032, allocations: 3.938 kB / 343.5 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.03043, allocations: 36 kB / 343.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.03049, allocations: 53.92 kB / 343.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.0328, allocations: 1.288 MB / 344.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006257/0.03906, allocations: 3.769 MB / 348.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.04078, allocations: 1.004 MB / 349.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.04211, allocations: 0.681 MB / 350.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.04215, allocations: 12.66 kB / 350.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.04319, allocations: 0.64 MB / 351 MB, free: 10.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.04319, allocations: 0 / 351 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.007917/0.05111, allocations: 2.747 MB / 353.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.05124, allocations: 123.5 kB / 353.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.05237, allocations: 0.8011 MB / 354.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.05244, allocations: 41.7 kB / 354.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.05292, allocations: 0.5007 MB / 355.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.05316, allocations: 241.9 kB / 355.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.0534, allocations: 134.6 kB / 355.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.05363, allocations: 402.6 kB / 355.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.05431, allocations: 389.7 kB / 356.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/0.05519, allocations: 0.5958 MB / 356.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.05669, allocations: 0.9171 MB / 357.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.05669, allocations: 0 / 357.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002288/0.05898, allocations: 1.286 MB / 359.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.059, allocations: 8 kB / 359.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.05902, allocations: 7.938 kB / 359.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.06019, allocations: 473.3 kB / 359.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.06057, allocations: 95.83 kB / 359.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.0684, allocations: 5.391 MB / 365.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.06893, allocations: 83.64 kB / 365.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.06899, allocations: 24 kB / 365.2 MB, free: 12.32 MB / 334.1 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.0006892/0.06968, allocations: 463.4 kB / 365.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.06982, allocations: 95.42 kB / 365.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.07005, allocations: 108.4 kB / 365.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.07006, allocations: 8 kB / 365.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.07006, allocations: 0 / 365.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.07007, allocations: 8.109 kB / 365.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.0741, allocations: 2.302 MB / 368.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.0741, allocations: 0 / 368.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.0744, allocations: 71.89 kB / 368.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.07549, allocations: 460.5 kB / 368.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.07554, allocations: 12 kB / 368.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007723/0.08326, allocations: 5.313 MB / 374 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.08327, allocations: 0 / 374 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.08633, allocations: 1.894 MB / 375.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.08678, allocations: 199.3 kB / 376.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.0869, allocations: 12.09 kB / 376.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.08732, allocations: 47.95 kB / 376.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.08753, allocations: 84.48 kB / 376.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.08758, allocations: 16.12 kB / 376.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008262/0.08841, allocations: 0.577 MB / 376.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08841, allocations: 0 / 376.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001158/0.08956, allocations: 351.2 kB / 377.2 MB, free: 168 kB / 334.1 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.0002301/0.08979, allocations: 131.2 kB / 377.3 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.0921, allocations: 1.248 MB / 378.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.09211, allocations: 0 / 378.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.09343, allocations: 0.7937 MB / 379.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.09453, allocations: 250.7 kB / 379.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.09867, allocations: 2.335 MB / 381.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/0.09955, allocations: 0.7381 MB / 382.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.09991, allocations: 143.1 kB / 382.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.1001, allocations: 56.48 kB / 382.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1001, allocations: 4 kB / 382.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Templates: time 0.03192/0.132, allocations: 18.47 MB / 401.3 MB, free: 8.137 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.221141040325165]