Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9552/0.9552, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.109e-05, allocations: 6.25 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004352/0.004383, allocations: 4.555 MB / 256.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006528, allocations: 1.329 MB / 257.4 MB, free: 1.305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.00682, allocations: 35.69 kB / 257.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.007373, allocations: 226.4 kB / 257.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009217/0.008295, allocations: 381.5 kB / 258 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.008647, allocations: 219.6 kB / 258.2 MB, free: 468 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.009868, allocations: 1.595 MB / 259.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.01044, allocations: 0.5041 MB / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008315/0.01127, allocations: 0.9435 MB / 261.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008161/0.01208, allocations: 0.7521 MB / 262 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.01227, allocations: 164 kB / 262.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01247, allocations: 164 kB / 262.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.01274, allocations: 462.7 kB / 262.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.01314, allocations: 0.4989 MB / 263.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.01412, allocations: 1.207 MB / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.01412, allocations: 0 / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01412, allocations: 0 / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.01414, allocations: 0 / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002194/0.01634, allocations: 2.094 MB / 266.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01638, allocations: 15.98 kB / 266.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.01662, allocations: 216 kB / 266.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.01768, allocations: 0.698 MB / 267.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.01774, allocations: 78.36 kB / 267.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.01786, allocations: 104.3 kB / 267.7 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.01888, allocations: 0.8018 MB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.01891, allocations: 7.875 kB / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.01898, allocations: 36 kB / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.01903, allocations: 49.98 kB / 268.6 MB, free: 5.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.01947, allocations: 281.6 kB / 268.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.02293, allocations: 3.342 MB / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.02359, allocations: 0.5518 MB / 272.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.0241, allocations: 340.8 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.02413, allocations: 16.59 kB / 273.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.02453, allocations: 381.6 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 2.866e-06/0.02453, allocations: 0 / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.003021/0.02755, allocations: 1.368 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.02761, allocations: 115.4 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.02816, allocations: 0.671 MB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.0282, allocations: 45.7 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.02855, allocations: 0.5502 MB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.02872, allocations: 261.8 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.02888, allocations: 148.2 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.0291, allocations: 0.5975 MB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.02923, allocations: 77.94 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.0295, allocations: 355.9 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.02991, allocations: 407.5 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.02991, allocations: 4 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001097/0.03101, allocations: 0.5818 MB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.03103, allocations: 4 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.03104, allocations: 4.469 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.03153, allocations: 231.2 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.03175, allocations: 91.83 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.03472, allocations: 3.572 MB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.03496, allocations: 63.67 kB / 282.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.03499, allocations: 20 kB / 282.6 MB, free: 7.387 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002335/0.03523, allocations: 218.3 kB / 282.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.03533, allocations: 111.4 kB / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.03544, allocations: 108.3 kB / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.03545, allocations: 4 kB / 283 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03545, allocations: 0 / 283 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.03546, allocations: 7.984 kB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.03702, allocations: 1.352 MB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03702, allocations: 0 / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.03717, allocations: 63.91 kB / 284.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.03755, allocations: 211.3 kB / 284.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.03758, allocations: 19.94 kB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.0404, allocations: 3.541 MB / 288.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0404, allocations: 0 / 288.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.04117, allocations: 0.784 MB / 289 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.04137, allocations: 171.2 kB / 289.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.04142, allocations: 16 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.04159, allocations: 23.98 kB / 289.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.04173, allocations: 76.47 kB / 289.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.04176, allocations: 15.98 kB / 289.3 MB, free: 492 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002654/0.04203, allocations: 406.8 kB / 289.7 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04203, allocations: 0 / 289.7 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006444/0.04267, allocations: 347.3 kB / 290 MB, free: 15.75 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001474/0.04282, allocations: 119.1 kB / 290.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.04365, allocations: 0.7586 MB / 290.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.04366, allocations: 4.75 kB / 290.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.04418, allocations: 0.6013 MB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.04479, allocations: 262.8 kB / 291.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.04724, allocations: 1.95 MB / 293.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.04755, allocations: 372 kB / 294.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.04775, allocations: 87.06 kB / 294.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.04813, allocations: 298 kB / 294.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04813, allocations: 0 / 294.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.0241/0.07223, allocations: 19.6 MB / 314.1 MB, free: 7.613 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.069471355061978]