Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 43.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2263, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006217/0.2325, allocations: 4.614 MB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2346, allocations: 1.23 MB / 426.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.2349, allocations: 19.94 kB / 426.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2352, allocations: 174.6 kB / 426.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008398/0.2361, allocations: 358 kB / 427.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.2364, allocations: 199.7 kB / 427.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.238, allocations: 1.607 MB / 429.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.2388, allocations: 0.575 MB / 429.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.2395, allocations: 0.6853 MB / 430.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2407, allocations: 0.8679 MB / 431.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.2409, allocations: 180 kB / 431.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.2412, allocations: 172 kB / 431.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.2416, allocations: 482.6 kB / 432 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.2424, allocations: 0.7894 MB / 432.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.2446, allocations: 2.259 MB / 435.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2446, allocations: 0 / 435.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2446, allocations: 0 / 435.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.2446, allocations: 0 / 435.1 MB, free: 0.8398 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003167/0.2478, allocations: 1.809 MB / 436.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2478, allocations: 8.031 kB / 436.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.248, allocations: 156 kB / 437 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.2495, allocations: 1.001 MB / 438 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.2496, allocations: 78.44 kB / 438.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.2498, allocations: 108.1 kB / 438.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.2523, allocations: 1.553 MB / 439.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.2523, allocations: 4 kB / 439.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2524, allocations: 43.98 kB / 439.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.2525, allocations: 42.05 kB / 439.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.2549, allocations: 1.437 MB / 441.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/0.2621, allocations: 4.892 MB / 446.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.2639, allocations: 1.384 MB / 447.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.2652, allocations: 0.6804 MB / 448.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.799e-05/0.2653, allocations: 12.55 kB / 448.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2664, allocations: 0.6199 MB / 448.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.2664, allocations: 0 / 448.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006164/0.2726, allocations: 2.416 MB / 451.3 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.2726, allocations: 97.69 kB / 451.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.274, allocations: 0.9421 MB / 452.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.2741, allocations: 41.7 kB / 452.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/0.2746, allocations: 0.5358 MB / 452.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.2748, allocations: 242 kB / 453.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.275, allocations: 130.6 kB / 453.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2752, allocations: 330 kB / 453.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.2759, allocations: 417.7 kB / 454 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.2767, allocations: 0.5485 MB / 454.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.2782, allocations: 0.9503 MB / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2783, allocations: 3.938 kB / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00227/0.2805, allocations: 1.281 MB / 456.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.2805, allocations: 11.98 kB / 456.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2806, allocations: 4 kB / 456.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/0.2815, allocations: 392.5 kB / 457.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.282, allocations: 115.8 kB / 457.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.2881, allocations: 4.513 MB / 461.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.2887, allocations: 83.77 kB / 461.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.2887, allocations: 31.98 kB / 461.9 MB, free: 5.145 MB / 366.1 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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0007601/0.2895, allocations: 0.4913 MB / 462.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2896, allocations: 103.3 kB / 462.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.2899, allocations: 116.5 kB / 462.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2899, allocations: 7.984 kB / 462.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2899, allocations: 4 kB / 462.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2899, allocations: 4 kB / 462.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.294, allocations: 2.571 MB / 465.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.294, allocations: 4 kB / 465.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.2944, allocations: 83.88 kB / 465.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008464/0.2952, allocations: 384.5 kB / 465.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.2953, allocations: 15.94 kB / 465.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005785/0.3011, allocations: 4.488 MB / 470.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3011, allocations: 0 / 470.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.3042, allocations: 1.94 MB / 472.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.3047, allocations: 296.2 kB / 472.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.3048, allocations: 19.94 kB / 472.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.3052, allocations: 47.94 kB / 472.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.3054, allocations: 72.55 kB / 472.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.3055, allocations: 19.98 kB / 472.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000927/0.3064, allocations: 0.6823 MB / 473.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3064, allocations: 0 / 473.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009352/0.3073, allocations: 347.2 kB / 473.6 MB, free: 9.219 MB / 382.1 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.000183/0.3075, allocations: 131.2 kB / 473.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.3098, allocations: 1.244 MB / 475 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3098, allocations: 0 / 475 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.3111, allocations: 0.7876 MB / 475.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3121, allocations: 247.3 kB / 476 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.3168, allocations: 2.67 MB / 478.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.318, allocations: 1.384 MB / 480 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.3184, allocations: 167.3 kB / 480.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3186, allocations: 59.42 kB / 480.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3186, allocations: 0 / 480.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of Templates: time 0.03266/0.3512, allocations: 18.86 MB / 499.1 MB, free: 15.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5855237524956465]