Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 63.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2465, allocations: 50.54 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005862/0.2524, allocations: 4.592 MB / 413.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2548, allocations: 1.293 MB / 415.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.2551, allocations: 27.88 kB / 415.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.2555, allocations: 174.6 kB / 415.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008892/0.2564, allocations: 358 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.2569, allocations: 215.6 kB / 415.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.2585, allocations: 1.631 MB / 417.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.2597, allocations: 1.106 MB / 418.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008374/0.2606, allocations: 0.693 MB / 419.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000997/0.2616, allocations: 0.8522 MB / 420.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.2618, allocations: 180 kB / 420.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.2621, allocations: 188 kB / 420.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.2625, allocations: 478.7 kB / 421 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.2632, allocations: 0.801 MB / 421.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.2651, allocations: 2.272 MB / 424.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2651, allocations: 0 / 424.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2651, allocations: 0 / 424.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.2651, allocations: 0 / 424.1 MB, free: 2.684 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.003107/0.2682, allocations: 1.791 MB / 425.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.2683, allocations: 12.03 kB / 425.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.269, allocations: 207.1 kB / 426.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.2705, allocations: 1.028 MB / 427.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.2705, allocations: 78.44 kB / 427.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.2707, allocations: 112.1 kB / 427.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.2731, allocations: 1.545 MB / 428.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.2731, allocations: 7.844 kB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.2733, allocations: 47.98 kB / 428.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.2733, allocations: 46.05 kB / 429 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.2756, allocations: 1.433 MB / 430.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.2819, allocations: 4.902 MB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2835, allocations: 1.442 MB / 436.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2848, allocations: 0.7389 MB / 437.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.2848, allocations: 8.562 kB / 437.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009338/0.2858, allocations: 0.616 MB / 438.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.2858, allocations: 0 / 438.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005584/0.2914, allocations: 2.442 MB / 440.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.2915, allocations: 89.77 kB / 440.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2927, allocations: 0.9581 MB / 441.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.2928, allocations: 41.7 kB / 441.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.2932, allocations: 0.5424 MB / 442.2 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.2934, allocations: 236.8 kB / 442.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.2936, allocations: 130.6 kB / 442.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2937, allocations: 334 kB / 442.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.2944, allocations: 413.7 kB / 443.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.2952, allocations: 0.5524 MB / 443.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.2966, allocations: 0.9464 MB / 444.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2966, allocations: 7.938 kB / 444.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002066/0.2987, allocations: 1.288 MB / 446.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2987, allocations: 4 kB / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2988, allocations: 4.469 kB / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/0.2997, allocations: 407 kB / 446.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.3002, allocations: 115.8 kB / 446.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.3055, allocations: 4.501 MB / 451.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.3061, allocations: 71.48 kB / 451.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.3061, allocations: 28 kB / 451.2 MB, free: 6.773 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.0006814/0.3068, allocations: 0.4951 MB / 451.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.307, allocations: 98.81 kB / 451.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3072, allocations: 120.8 kB / 451.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3072, allocations: 8 kB / 451.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3072, allocations: 0 / 451.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3072, allocations: 3.984 kB / 451.9 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.3111, allocations: 2.598 MB / 454.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3111, allocations: 0 / 454.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.3115, allocations: 83.88 kB / 454.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008311/0.3123, allocations: 408.5 kB / 455 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.3124, allocations: 15.94 kB / 455 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005553/0.318, allocations: 4.467 MB / 459.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.318, allocations: 0 / 459.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.3209, allocations: 1.955 MB / 461.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.3213, allocations: 291.7 kB / 461.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3215, allocations: 16 kB / 461.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.322, allocations: 39.95 kB / 461.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.3222, allocations: 80.47 kB / 461.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.3223, allocations: 23.98 kB / 461.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.3233, allocations: 0.698 MB / 462.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3233, allocations: 0 / 462.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3245, allocations: 346.9 kB / 462.9 MB, free: 10.8 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.0002231/0.3247, allocations: 131.1 kB / 463 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.327, allocations: 1.272 MB / 464.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3271, allocations: 4.125 kB / 464.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.3283, allocations: 0.8142 MB / 465.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3294, allocations: 259.9 kB / 465.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.3349, allocations: 2.637 MB / 468 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.3363, allocations: 1.396 MB / 469.4 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.3368, allocations: 171.4 kB / 469.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.3371, allocations: 63.42 kB / 469.6 MB, free: 3.961 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3371, allocations: 0 / 469.6 MB, free: 3.961 MB / 382.1 MB Notification: Performance of Templates: time 0.03044/0.3675, allocations: 18.57 MB / 488.2 MB, free: 1.609 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches