Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001322/0.001322, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001476/0.001476, allocations: 167.7 kB / 25.7 MB, free: 8.438 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.8484/0.8484, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.275e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00551/0.005532, allocations: 3.578 MB / 255.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.007522, allocations: 1.068 MB / 256.2 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.007756, allocations: 15.88 kB / 256.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.008307, allocations: 115 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008726/0.00918, allocations: 254.3 kB / 256.6 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.00951, allocations: 147.6 kB / 256.7 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.01082, allocations: 0.9841 MB / 257.7 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.01127, allocations: 314.9 kB / 258 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006972/0.01197, allocations: 0.5964 MB / 258.6 MB, free: 144 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.01265, allocations: 470.9 kB / 259.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.01278, allocations: 100 kB / 259.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.01292, allocations: 96 kB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.01317, allocations: 291.1 kB / 259.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.01352, allocations: 335.2 kB / 259.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.0146, allocations: 0.7632 MB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01461, allocations: 0 / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01461, allocations: 0 / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.01462, allocations: 4 kB / 260.6 MB, free: 14.11 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001519/0.01614, allocations: 1.018 MB / 261.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.01617, allocations: 11.98 kB / 261.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.01638, allocations: 116.8 kB / 261.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.01754, allocations: 379.2 kB / 262.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.01758, allocations: 45.69 kB / 262.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.01769, allocations: 64.38 kB / 262.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.01854, allocations: 0.5451 MB / 262.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01856, allocations: 4 kB / 262.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.01863, allocations: 28 kB / 262.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.01867, allocations: 25.31 kB / 262.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.01909, allocations: 169 kB / 263 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.02205, allocations: 1.701 MB / 264.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.02243, allocations: 215.5 kB / 264.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.02266, allocations: 117.5 kB / 265 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.02269, allocations: 12.27 kB / 265.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.02303, allocations: 235.6 kB / 265.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.02303, allocations: 0 / 265.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0017/0.02473, allocations: 448.4 kB / 265.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.02479, allocations: 110.8 kB / 265.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.02522, allocations: 395.3 kB / 266.2 MB, free: 8.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.02526, allocations: 33.7 kB / 266.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.02545, allocations: 313.5 kB / 266.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.02556, allocations: 138.8 kB / 266.7 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.0257, allocations: 90.09 kB / 266.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.02583, allocations: 366.7 kB / 267.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.02594, allocations: 40.97 kB / 267.2 MB, free: 7.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.02614, allocations: 210.9 kB / 267.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.0265, allocations: 277.7 kB / 267.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.0265, allocations: 0 / 267.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005626/0.02706, allocations: 312.8 kB / 268 MB, free: 6.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.02708, allocations: 8 kB / 268 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.02709, allocations: 4 kB / 268 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.02739, allocations: 91.55 kB / 268.1 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.02765, allocations: 75.89 kB / 268.1 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.02947, allocations: 1.824 MB / 270 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.02974, allocations: 47.67 kB / 270 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.02978, allocations: 23.92 kB / 270 MB, free: 4.203 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.02996, allocations: 144.5 kB / 270.2 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.03005, allocations: 47.95 kB / 270.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.03015, allocations: 69.12 kB / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03015, allocations: 4 kB / 270.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.03016, allocations: 0 / 270.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.03016, allocations: 4.094 kB / 270.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.03133, allocations: 0.7376 MB / 271 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03134, allocations: 0 / 271 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.03152, allocations: 43.91 kB / 271.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/0.03178, allocations: 79.75 kB / 271.2 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.03181, allocations: 8 kB / 271.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.03355, allocations: 1.828 MB / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.03355, allocations: 0 / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.03422, allocations: 431.2 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.03439, allocations: 75.59 kB / 273.5 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.03446, allocations: 8 kB / 273.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.03467, allocations: 15.98 kB / 273.5 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.03476, allocations: 39.92 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.03479, allocations: 12 kB / 273.6 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.03501, allocations: 176.4 kB / 273.7 MB, free: 340 kB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03501, allocations: 0 / 273.7 MB, free: 340 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000708/0.03571, allocations: 211.4 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.03587, allocations: 100.3 kB / 274 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.03653, allocations: 400.2 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.03654, allocations: 4 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.03694, allocations: 310.7 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.03749, allocations: 137.8 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.03996, allocations: 1.293 MB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.04017, allocations: 206.3 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.04036, allocations: 56.75 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.04071, allocations: 165.3 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04071, allocations: 0 / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.0125/0.05322, allocations: 10.13 MB / 286.7 MB, free: 3.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.6301153851673007]