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.00134/0.00134, allocations: 88.3 kB / 22.21 MB, free: 2.285 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.001593/0.001593, allocations: 174.4 kB / 25.6 MB, free: 8.484 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.9997/0.9997, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.804e-06/1.804e-06, allocations: 0 / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.686e-05, allocations: 6.25 kB / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003847/0.003874, allocations: 3.571 MB / 255.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.005451, allocations: 1.037 MB / 256.1 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.005665, allocations: 15.88 kB / 256.1 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.00589, allocations: 111.1 kB / 256.2 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.006538, allocations: 250.3 kB / 256.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.006837, allocations: 151.6 kB / 256.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009696/0.007807, allocations: 0.9919 MB / 257.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.008261, allocations: 306.9 kB / 257.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006455/0.008907, allocations: 0.5886 MB / 258.5 MB, free: 156 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.009517, allocations: 482.8 kB / 259 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.009635, allocations: 100 kB / 259.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.009752, allocations: 100 kB / 259.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.009937, allocations: 291.1 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.01022, allocations: 323.3 kB / 259.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.01082, allocations: 0.7671 MB / 260.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01082, allocations: 0 / 260.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01082, allocations: 0 / 260.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.01083, allocations: 4 kB / 260.5 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.001552/0.01239, allocations: 1.465 MB / 262 MB, free: 12.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01243, allocations: 15.98 kB / 262 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.01257, allocations: 148.3 kB / 262.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.01309, allocations: 470 kB / 262.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.01312, allocations: 49.69 kB / 262.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.0132, allocations: 76.33 kB / 262.7 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.01379, allocations: 0.525 MB / 263.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01381, allocations: 7.938 kB / 263.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.01386, allocations: 27.98 kB / 263.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.0139, allocations: 33.31 kB / 263.3 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.01417, allocations: 177 kB / 263.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.01629, allocations: 2.218 MB / 265.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01661, allocations: 263.1 kB / 266 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.01677, allocations: 136.1 kB / 266.1 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.0168, allocations: 4.328 kB / 266.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.01707, allocations: 253.9 kB / 266.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.01707, allocations: 0 / 266.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001031/0.0181, allocations: 0.5233 MB / 266.9 MB, free: 7.492 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.01816, allocations: 118.7 kB / 267 MB, free: 7.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.01849, allocations: 0.4907 MB / 267.5 MB, free: 6.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01852, allocations: 37.7 kB / 267.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.01892, allocations: 423.3 kB / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.01901, allocations: 150.8 kB / 268.1 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.0191, allocations: 95.77 kB / 268.2 MB, free: 6.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01926, allocations: 0.5586 MB / 268.7 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.01933, allocations: 48.95 kB / 268.8 MB, free: 5.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.0195, allocations: 268.6 kB / 269.1 MB, free: 5.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.01976, allocations: 317.8 kB / 269.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01976, allocations: 3.938 kB / 269.4 MB, free: 4.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004579/0.02022, allocations: 384.3 kB / 269.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.02024, allocations: 8 kB / 269.8 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02025, allocations: 4 kB / 269.8 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.02047, allocations: 88.11 kB / 269.8 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.02063, allocations: 83.83 kB / 269.9 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.02213, allocations: 2.467 MB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.02229, allocations: 47.7 kB / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.02231, allocations: 19.94 kB / 272.5 MB, free: 1.559 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[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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.0001564/0.02246, allocations: 192.3 kB / 272.6 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.02253, allocations: 79.61 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.02259, allocations: 57.2 kB / 272.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.0226, allocations: 4 kB / 272.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.0226, allocations: 0 / 272.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.0226, allocations: 7.984 kB / 272.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.02357, allocations: 0.9973 MB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02357, allocations: 0 / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.02368, allocations: 39.92 kB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.02385, allocations: 87.59 kB / 273.9 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.02387, allocations: 15.92 kB / 273.9 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.0253, allocations: 2.428 MB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0253, allocations: 48 / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.02582, allocations: 0.5396 MB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.02596, allocations: 99.55 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.026, allocations: 15.98 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.02612, allocations: 19.94 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.0262, allocations: 39.92 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.02622, allocations: 4 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.02641, allocations: 318.7 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.02641, allocations: 0 / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.02692, allocations: 203.5 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.0001405/0.02706, allocations: 119.2 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006619/0.02773, allocations: 481.7 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.02773, allocations: 8.062 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.02803, allocations: 372.7 kB / 278.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.02845, allocations: 154.1 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.03023, allocations: 1.303 MB / 280 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.03039, allocations: 238.2 kB / 280.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.03052, allocations: 56.67 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.03075, allocations: 198.1 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03075, allocations: 4 kB / 280.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of Templates: time 0.01405/0.0448, allocations: 10.22 MB / 290.7 MB, free: 15.04 MB / 282.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.8675306737422943]