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.001192/0.001192, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001832/0.003023, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001169/0.001169, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002779, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9165/0.9165, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1389/1.055, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.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.162e-06/1.162e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.795e-05, allocations: 10.19 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004105/0.004123, allocations: 4.622 MB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.006079, allocations: 1.391 MB / 227.9 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.006332, allocations: 31.75 kB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.006747, allocations: 230.3 kB / 228.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.007349, allocations: 369.6 kB / 228.5 MB, free: 9.473 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.007629, allocations: 223.5 kB / 228.7 MB, free: 9.254 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.008689, allocations: 1.595 MB / 230.3 MB, free: 7.652 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.009213, allocations: 0.5197 MB / 230.8 MB, free: 7.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/0.01006, allocations: 1.048 MB / 231.9 MB, free: 6.055 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.01071, allocations: 0.7326 MB / 232.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.01085, allocations: 160 kB / 232.8 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.011, allocations: 164 kB / 232.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.01124, allocations: 383 kB / 233.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.0116, allocations: 423.2 kB / 233.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.01249, allocations: 1.122 MB / 234.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.718e-05/0.01251, allocations: 0 / 234.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01251, allocations: 0 / 234.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.01253, allocations: 0 / 234.8 MB, free: 3.09 MB / 234.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.001781/0.01431, allocations: 1.724 MB / 236.6 MB, free: 1.336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01434, allocations: 8.031 kB / 236.6 MB, free: 1.328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.01453, allocations: 164.8 kB / 236.7 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.01514, allocations: 0.5405 MB / 237.3 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.01518, allocations: 66.38 kB / 237.3 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.01527, allocations: 100.4 kB / 237.4 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.01607, allocations: 0.8136 MB / 238.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.01609, allocations: 3.938 kB / 238.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.01615, allocations: 47.98 kB / 238.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.0162, allocations: 38 kB / 238.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.01657, allocations: 249.7 kB / 238.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.01913, allocations: 2.538 MB / 241.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.01964, allocations: 0.4961 MB / 241.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.02, allocations: 314 kB / 241.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.02004, allocations: 12.66 kB / 241.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.02037, allocations: 355.5 kB / 242.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 1.854e-06/0.02037, allocations: 0 / 242.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.002558/0.02293, allocations: 1.288 MB / 243.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.02296, allocations: 60.06 kB / 243.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.02332, allocations: 0.5351 MB / 244.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.02335, allocations: 41.7 kB / 244.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.02354, allocations: 398.6 kB / 244.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.02366, allocations: 253.9 kB / 244.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.02379, allocations: 122.6 kB / 244.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.0239, allocations: 394.6 kB / 245.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.024, allocations: 73.91 kB / 245.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.02419, allocations: 282.2 kB / 245.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.0245, allocations: 362.1 kB / 246 MB, free: 7.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.0245, allocations: 0 / 246 MB, free: 7.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005202/0.02502, allocations: 469.9 kB / 246.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.02504, allocations: 8 kB / 246.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.02505, allocations: 7.938 kB / 246.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.02545, allocations: 208.5 kB / 246.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.02566, allocations: 103.8 kB / 246.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.02819, allocations: 2.796 MB / 249.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.02842, allocations: 55.61 kB / 249.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.02845, allocations: 31.98 kB / 249.7 MB, free: 3.707 MB / 250.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_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: 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.0002226/0.02867, allocations: 162.5 kB / 249.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.02875, allocations: 75.92 kB / 249.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.02886, allocations: 100.2 kB / 250 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.02887, allocations: 11.94 kB / 250 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02887, allocations: 0 / 250 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.02888, allocations: 3.984 kB / 250 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.03011, allocations: 1.044 MB / 251.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03011, allocations: 64 / 251.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.03027, allocations: 67.91 kB / 251.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.03043, allocations: 135.2 kB / 251.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.0308, allocations: 199.7 kB / 251.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.03082, allocations: 11.94 kB / 251.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.03317, allocations: 2.767 MB / 254.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03317, allocations: 0 / 254.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.03384, allocations: 0.6296 MB / 254.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.03392, allocations: 15.98 kB / 254.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.03408, allocations: 19.98 kB / 254.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.0342, allocations: 68.53 kB / 255 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.03422, allocations: 12 kB / 255 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.03443, allocations: 268.5 kB / 255.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.03443, allocations: 4 kB / 255.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006887/0.03512, allocations: 347.3 kB / 255.6 MB, free: 13.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001478/0.03527, allocations: 104.2 kB / 255.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.03611, allocations: 0.6623 MB / 256.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/0.03613, allocations: 12 kB / 256.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.03661, allocations: 0.5258 MB / 256.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.0372, allocations: 322.6 kB / 257.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.0432, allocations: 2.026 MB / 259.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.04347, allocations: 312 kB / 259.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.04371, allocations: 91.06 kB / 259.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.0441, allocations: 257.1 kB / 259.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.583e-06/0.04411, allocations: 0 / 259.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Templates: time 0.02834/0.07245, allocations: 20.4 MB / 280.3 MB, free: 4.836 MB / 282.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 -ignoreHideResult -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: 2.85486329998821]