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.001019/0.001019, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002399, allocations: 453.8 kB / 10.46 MB, free: 236 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.0009095/0.0009095, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004604/0.005513, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9546/0.9546, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2098/1.164, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.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 2.805e-06/2.805e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.082e-05/5.362e-05, allocations: 6.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006575/0.006629, allocations: 3.634 MB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.009772, allocations: 1.076 MB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.01016, allocations: 23.81 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.01045, allocations: 107.1 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008787/0.01133, allocations: 246.3 kB / 227.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.0118, allocations: 151.6 kB / 227.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.01287, allocations: 0.9882 MB / 228.2 MB, free: 9.793 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.01337, allocations: 310.9 kB / 228.5 MB, free: 9.473 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008636/0.01423, allocations: 0.6638 MB / 229.2 MB, free: 8.809 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.01488, allocations: 474.9 kB / 229.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.01498, allocations: 100 kB / 229.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.0151, allocations: 100 kB / 229.8 MB, free: 8.148 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.01528, allocations: 239.4 kB / 230.1 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.01552, allocations: 267.5 kB / 230.3 MB, free: 7.652 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.01615, allocations: 0.7087 MB / 231 MB, free: 6.941 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.67e-05/0.01617, allocations: 0 / 231 MB, free: 6.941 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01617, allocations: 0 / 231 MB, free: 6.941 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.01618, allocations: 4 kB / 231.1 MB, free: 6.938 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001457/0.01764, allocations: 1.185 MB / 232.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01768, allocations: 12.03 kB / 232.3 MB, free: 5.715 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.01782, allocations: 108.8 kB / 232.4 MB, free: 5.609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.0183, allocations: 367.3 kB / 232.7 MB, free: 5.227 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.01834, allocations: 49.69 kB / 232.8 MB, free: 5.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.01842, allocations: 76.34 kB / 232.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.01905, allocations: 0.5334 MB / 233.4 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.01907, allocations: 0 / 233.4 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.01912, allocations: 31.97 kB / 233.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.01917, allocations: 33.31 kB / 233.4 MB, free: 4.473 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.01943, allocations: 157 kB / 233.6 MB, free: 4.32 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.02138, allocations: 1.728 MB / 235.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.02171, allocations: 227.3 kB / 235.5 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.02191, allocations: 113.4 kB / 235.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.02194, allocations: 12.27 kB / 235.7 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.02226, allocations: 239.5 kB / 235.9 MB, free: 1.898 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.02227, allocations: 0 / 235.9 MB, free: 1.898 MB / 234.7 MB Notification: Performance of matching and sorting (n=43): time 0.001033/0.0233, allocations: 449.7 kB / 236.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.02336, allocations: 81.11 kB / 236.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.02366, allocations: 399.3 kB / 236.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.0237, allocations: 33.7 kB / 236.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.02387, allocations: 305.5 kB / 237.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.02396, allocations: 138.8 kB / 237.3 MB, free: 488 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.02405, allocations: 90.09 kB / 237.4 MB, free: 388 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.02416, allocations: 366.7 kB / 237.7 MB, free: 12 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.02424, allocations: 48.91 kB / 237.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.02439, allocations: 206.9 kB / 238 MB, free: 15.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.02464, allocations: 277.6 kB / 238.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02464, allocations: 0 / 238.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003978/0.02504, allocations: 312.4 kB / 238.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.02506, allocations: 8 kB / 238.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.02507, allocations: 4 kB / 238.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.02532, allocations: 92.14 kB / 238.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.02552, allocations: 91.83 kB / 238.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.02707, allocations: 1.832 MB / 240.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.02723, allocations: 47.72 kB / 240.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02724, allocations: 8 kB / 240.6 MB, free: 12.88 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.0001541/0.0274, allocations: 148.5 kB / 240.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.02746, allocations: 51.94 kB / 240.8 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.353e-05/0.02754, allocations: 65.14 kB / 240.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.02755, allocations: 4 kB / 240.9 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02755, allocations: 4 kB / 240.9 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.02756, allocations: 7.984 kB / 240.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.02843, allocations: 0.7249 MB / 241.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02843, allocations: 0 / 241.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.02857, allocations: 43.97 kB / 241.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.02867, allocations: 83.52 kB / 241.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.02885, allocations: 83.62 kB / 241.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.02888, allocations: 15.98 kB / 241.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.03017, allocations: 1.823 MB / 243.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.03017, allocations: 0 / 243.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.03066, allocations: 431.2 kB / 244.1 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.0307, allocations: 8 kB / 244.1 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.03083, allocations: 19.98 kB / 244.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.03091, allocations: 39.72 kB / 244.2 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.03093, allocations: 11.98 kB / 244.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.03108, allocations: 176.4 kB / 244.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03108, allocations: 4 kB / 244.3 MB, free: 8.984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.03153, allocations: 203.5 kB / 244.5 MB, free: 8.785 MB / 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.0001766/0.0317, allocations: 104.3 kB / 244.6 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.03224, allocations: 392.2 kB / 245 MB, free: 8.281 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.03226, allocations: 8 kB / 245 MB, free: 8.273 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.03259, allocations: 323 kB / 245.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.0335, allocations: 1.411 MB / 246.8 MB, free: 6.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.03802, allocations: 1.37 MB / 248.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.03819, allocations: 210.2 kB / 248.3 MB, free: 4.609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.03836, allocations: 56.67 kB / 248.4 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.03863, allocations: 169.2 kB / 248.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of SimCode: time 2.235e-06/0.03863, allocations: 0 / 248.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of Templates: time 0.01628/0.05491, allocations: 10.57 MB / 259.1 MB, free: 9.84 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.984578619711101]