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.001491/0.001491, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001676/0.001676, allocations: 159.5 kB / 25.32 MB, free: 9.062 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 1.009/1.009, allocations: 158.6 MB / 187.2 MB, free: 2.918 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 2.104e-06/2.104e-06, allocations: 0 / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.706e-05, allocations: 14.25 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005033/0.00506, allocations: 4.477 MB / 255.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.0078, allocations: 1.266 MB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005551/0.008355, allocations: 27.81 kB / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.008712, allocations: 170.6 kB / 257 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009971/0.00971, allocations: 373.6 kB / 257.4 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.01014, allocations: 207.6 kB / 257.6 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.01142, allocations: 1.665 MB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005791/0.012, allocations: 0.5044 MB / 259.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.01304, allocations: 1.006 MB / 260.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.01405, allocations: 0.8301 MB / 261.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.01427, allocations: 176 kB / 261.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.01448, allocations: 172 kB / 261.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.01481, allocations: 0.4946 MB / 262.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.01528, allocations: 0.5495 MB / 263 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.01633, allocations: 1.32 MB / 264.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01634, allocations: 0 / 264.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01634, allocations: 0 / 264.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/0.01637, allocations: 0 / 264.3 MB, free: 10.18 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.002571/0.01894, allocations: 2.286 MB / 266.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.01899, allocations: 15.98 kB / 266.6 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.01929, allocations: 239.9 kB / 266.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.02016, allocations: 0.7741 MB / 267.6 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.02021, allocations: 82.39 kB / 267.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.02033, allocations: 108.3 kB / 267.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.0215, allocations: 0.9102 MB / 268.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.02153, allocations: 7.875 kB / 268.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.0216, allocations: 40 kB / 268.7 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.02166, allocations: 46.02 kB / 268.8 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.02241, allocations: 395.8 kB / 269.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.02644, allocations: 4.137 MB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.02713, allocations: 0.5213 MB / 273.8 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.02771, allocations: 364.7 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.02776, allocations: 12.66 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.02822, allocations: 364.3 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.365e-06/0.02822, allocations: 0 / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002907/0.03112, allocations: 1.441 MB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.03118, allocations: 89.77 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.03191, allocations: 0.769 MB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.03196, allocations: 41.7 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.03232, allocations: 0.6009 MB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.03248, allocations: 246 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.03264, allocations: 136.3 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.03278, allocations: 0.5121 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.03299, allocations: 105.9 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.0333, allocations: 334.6 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.03399, allocations: 447.5 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.034, allocations: 0 / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001063/0.03506, allocations: 0.6295 MB / 279.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.03508, allocations: 8 kB / 279.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.03509, allocations: 7.984 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.03558, allocations: 189.8 kB / 280.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.03588, allocations: 119.8 kB / 280.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.03883, allocations: 3.228 MB / 283.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.03916, allocations: 75.56 kB / 283.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.0392, allocations: 28 kB / 283.5 MB, free: 6.184 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.0003701/0.03957, allocations: 210.4 kB / 283.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.03971, allocations: 123.4 kB / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.03983, allocations: 100.2 kB / 284 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.03984, allocations: 15.92 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.03984, allocations: 0 / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.03985, allocations: 3.938 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.04195, allocations: 1.605 MB / 285.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.04195, allocations: 0 / 285.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.04218, allocations: 75.88 kB / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.04257, allocations: 187.8 kB / 285.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.04261, allocations: 20.05 kB / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.04538, allocations: 3.193 MB / 289 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.04538, allocations: 4 kB / 289.1 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.04653, allocations: 0.8427 MB / 289.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.04685, allocations: 195.2 kB / 290.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.04692, allocations: 16 kB / 290.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.04714, allocations: 35.95 kB / 290.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.04731, allocations: 96.42 kB / 290.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.04734, allocations: 16 kB / 290.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005147/0.04785, allocations: 490.9 kB / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04785, allocations: 0 / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007794/0.04863, allocations: 351.2 kB / 291.1 MB, free: 14.43 MB / 282.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.0001565/0.04879, allocations: 127 kB / 291.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.04984, allocations: 0.7594 MB / 292 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.04985, allocations: 0 / 292 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.05044, allocations: 0.5653 MB / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.05108, allocations: 247.1 kB / 292.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.05443, allocations: 2.256 MB / 295 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.05474, allocations: 391.7 kB / 295.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000271/0.05501, allocations: 127.1 kB / 295.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.05514, allocations: 64.48 kB / 295.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of SimCode: time 1.483e-06/0.05514, allocations: 0 / 295.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of Templates: time 0.02693/0.08207, allocations: 17.38 MB / 313 MB, free: 8.445 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.3433453859761357]