Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009238/0.0009238, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009185/0.0009185, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9865/0.9865, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.264e-05, allocations: 2.312 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003824/0.003836, allocations: 4.395 MB / 256.7 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.005412, allocations: 1.255 MB / 257.9 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.005617, allocations: 27.81 kB / 258 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.005877, allocations: 170.6 kB / 258.1 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.006514, allocations: 381.5 kB / 258.5 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.006758, allocations: 203.6 kB / 258.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.007786, allocations: 1.661 MB / 260.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000746/0.008532, allocations: 0.5083 MB / 260.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007425/0.009274, allocations: 1.006 MB / 261.9 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.01003, allocations: 0.8457 MB / 262.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.01018, allocations: 172 kB / 262.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.01035, allocations: 176 kB / 263.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.01063, allocations: 0.4947 MB / 263.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.01105, allocations: 0.5456 MB / 264.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.01197, allocations: 1.32 MB / 265.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01197, allocations: 0 / 265.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.01197, allocations: 0 / 265.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.01198, allocations: 0 / 265.4 MB, free: 10.02 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002128/0.01411, allocations: 2.25 MB / 267.7 MB, free: 7.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.01415, allocations: 15.98 kB / 267.7 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.01465, allocations: 243.9 kB / 267.9 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.01533, allocations: 0.7213 MB / 268.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.01538, allocations: 74.41 kB / 268.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.01549, allocations: 112.3 kB / 268.8 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/0.01637, allocations: 0.8281 MB / 269.6 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.01639, allocations: 7.938 kB / 269.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.01646, allocations: 43.98 kB / 269.7 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.01651, allocations: 42.03 kB / 269.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.01696, allocations: 305.8 kB / 270 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.02008, allocations: 3.845 MB / 273.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.02055, allocations: 469.9 kB / 274.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.02096, allocations: 328.8 kB / 274.7 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.02099, allocations: 16.66 kB / 274.7 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005994/0.02159, allocations: 352.2 kB / 275 MB, free: 16 kB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.843e-06/0.02159, allocations: 0 / 275 MB, free: 16 kB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002131/0.02372, allocations: 1.067 MB / 276.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.02376, allocations: 97.7 kB / 276.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.02428, allocations: 0.7335 MB / 276.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.02432, allocations: 41.7 kB / 277 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.02463, allocations: 0.6203 MB / 277.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.02477, allocations: 249.9 kB / 277.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.02492, allocations: 144.2 kB / 278 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.02505, allocations: 0.5121 MB / 278.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.02517, allocations: 73.94 kB / 278.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.0254, allocations: 318.5 kB / 278.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.02577, allocations: 403.5 kB / 279.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02577, allocations: 0 / 279.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006364/0.02641, allocations: 0.5513 MB / 279.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.02642, allocations: 8.469 kB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.02643, allocations: 8 kB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.02678, allocations: 181.4 kB / 280 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.02703, allocations: 107.8 kB / 280.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.02967, allocations: 3.084 MB / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.02989, allocations: 55.66 kB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.02992, allocations: 20 kB / 283.3 MB, free: 7.418 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.03012, allocations: 210.3 kB / 283.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.03023, allocations: 127.4 kB / 283.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.03034, allocations: 104.2 kB / 283.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.03035, allocations: 8 kB / 283.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.03035, allocations: 64 / 283.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.03036, allocations: 7.984 kB / 283.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.03174, allocations: 1.309 MB / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03175, allocations: 4 kB / 285 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.03195, allocations: 75.83 kB / 285.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.03225, allocations: 175.7 kB / 285.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.03228, allocations: 11.98 kB / 285.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.0345, allocations: 3.042 MB / 288.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.0345, allocations: 0 / 288.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.03562, allocations: 0.7606 MB / 289.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.03583, allocations: 175.2 kB / 289.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.0359, allocations: 16 kB / 289.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.03609, allocations: 23.98 kB / 289.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.0362, allocations: 68.53 kB / 289.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.03623, allocations: 16.05 kB / 289.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.03653, allocations: 454.8 kB / 289.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03653, allocations: 0 / 289.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005474/0.03708, allocations: 351.2 kB / 290.2 MB, free: 328 kB / 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,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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.03721, allocations: 127 kB / 290.3 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007789/0.03799, allocations: 0.7085 MB / 291 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03799, allocations: 0.9375 kB / 291 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.03846, allocations: 0.5526 MB / 291.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.03905, allocations: 247.1 kB / 291.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.04178, allocations: 2.217 MB / 294 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.04206, allocations: 391.7 kB / 294.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.04226, allocations: 95.12 kB / 294.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.04263, allocations: 290 kB / 294.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04263, allocations: 0 / 294.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of Templates: time 0.02139/0.06402, allocations: 18.75 MB / 313.5 MB, free: 8.867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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.126731493975967]