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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 103.9 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007878/0.0007879, allocations: 39.92 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1929, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004981/0.1979, allocations: 4.52 MB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2, allocations: 1.262 MB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.2006, allocations: 19.97 kB / 379.6 MB, free: 41.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.2011, allocations: 130 kB / 379.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.2023, allocations: 316.7 kB / 380.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.2029, allocations: 177.4 kB / 380.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2046, allocations: 1.84 MB / 382.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.2054, allocations: 0.7711 MB / 382.9 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.206, allocations: 0.5597 MB / 383.4 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007428/0.2067, allocations: 0.8022 MB / 384.2 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2069, allocations: 98.47 kB / 384.3 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2071, allocations: 98.78 kB / 384.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2074, allocations: 391.6 kB / 384.8 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005344/0.2079, allocations: 0.7019 MB / 385.5 MB, free: 37.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.209, allocations: 2.137 MB / 387.6 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.209, allocations: 0 / 387.6 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.209, allocations: 0 / 387.6 MB, free: 35.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.209, allocations: 4 kB / 387.6 MB, free: 35.66 MB / 298.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.002271/0.2113, allocations: 1.748 MB / 389.4 MB, free: 33.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2113, allocations: 12.03 kB / 389.4 MB, free: 33.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2115, allocations: 147.2 kB / 389.5 MB, free: 33.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2126, allocations: 0.9306 MB / 390.5 MB, free: 32.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.2126, allocations: 78.41 kB / 390.6 MB, free: 32.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2127, allocations: 104.1 kB / 390.7 MB, free: 32.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2144, allocations: 1.541 MB / 392.2 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2145, allocations: 0 / 392.2 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.2146, allocations: 47.98 kB / 392.2 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.2146, allocations: 42.03 kB / 392.3 MB, free: 30.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.2163, allocations: 1.425 MB / 393.7 MB, free: 29.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.2212, allocations: 4.929 MB / 398.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.2224, allocations: 1.462 MB / 400.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.2233, allocations: 0.7203 MB / 400.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.2233, allocations: 16.5 kB / 400.8 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007221/0.2241, allocations: 0.6084 MB / 401.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.794e-06/0.2241, allocations: 4 kB / 401.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004939/0.229, allocations: 2.415 MB / 403.9 MB, free: 18.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.2291, allocations: 93.75 kB / 404 MB, free: 18.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.23, allocations: 0.9305 MB / 404.9 MB, free: 17.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.2301, allocations: 37.7 kB / 404.9 MB, free: 17.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.2304, allocations: 0.5269 MB / 405.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2305, allocations: 228.7 kB / 405.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.2307, allocations: 130.7 kB / 405.8 MB, free: 16.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.2308, allocations: 334 kB / 406.1 MB, free: 16.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.2314, allocations: 413.7 kB / 406.5 MB, free: 16.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.2321, allocations: 0.5524 MB / 407.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.2334, allocations: 0.9465 MB / 408 MB, free: 14.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2334, allocations: 0 / 408 MB, free: 14.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001865/0.2353, allocations: 1.296 MB / 409.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2353, allocations: 4 kB / 409.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2353, allocations: 7.984 kB / 409.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008401/0.2362, allocations: 398.4 kB / 409.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.2367, allocations: 119.8 kB / 409.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.2409, allocations: 4.123 MB / 414 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.2413, allocations: 79.42 kB / 414 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.2414, allocations: 28 kB / 414.1 MB, free: 8.395 MB / 298.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_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: 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.0004231/0.2418, allocations: 499.2 kB / 414.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.2419, allocations: 90.88 kB / 414.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2421, allocations: 124.4 kB / 414.8 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2421, allocations: 8 kB / 414.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2421, allocations: 0 / 414.8 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.2421, allocations: 7.922 kB / 414.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.245, allocations: 2.589 MB / 417.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.245, allocations: 0 / 417.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.2454, allocations: 87.88 kB / 417.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006032/0.246, allocations: 393.4 kB / 417.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.2461, allocations: 15.98 kB / 417.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.2495, allocations: 4.072 MB / 421.9 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2495, allocations: 0 / 421.9 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/0.2625, allocations: 10.05 MB / 432 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.263, allocations: 283.8 kB / 432.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.2631, allocations: 23.92 kB / 432.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.2635, allocations: 47.89 kB / 432.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.2637, allocations: 72.53 kB / 432.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.2638, allocations: 27.98 kB / 432.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007971/0.2646, allocations: 0.6629 MB / 433.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2646, allocations: 0 / 433.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001187/0.2658, allocations: 454.8 kB / 433.5 MB, free: 4.395 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.0001517/0.2659, allocations: 119.2 kB / 433.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.268, allocations: 1.276 MB / 434.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.268, allocations: 0 / 434.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2691, allocations: 0.7955 MB / 435.7 MB, free: 2.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.2701, allocations: 238.3 kB / 436 MB, free: 1.945 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.2754, allocations: 3.803 MB / 439.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.2764, allocations: 1.404 MB / 441.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005098/0.2769, allocations: 175.2 kB / 441.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2771, allocations: 55.44 kB / 441.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2771, allocations: 0 / 441.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02675/0.3039, allocations: 19.46 MB / 460.8 MB, free: 8.961 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches