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.001597/0.001597, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001865, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.12 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 50.55 MB / 410 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005351/0.2429, allocations: 4.585 MB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.2453, allocations: 1.301 MB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.2457, allocations: 23.88 kB / 415.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.246, allocations: 166.6 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.2469, allocations: 358 kB / 416.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.2473, allocations: 207.7 kB / 416.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2487, allocations: 1.631 MB / 418.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2498, allocations: 1.102 MB / 419.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.2506, allocations: 0.693 MB / 420 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2516, allocations: 0.86 MB / 420.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.2519, allocations: 176 kB / 421 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2523, allocations: 180 kB / 421.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.2526, allocations: 490.6 kB / 421.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.2533, allocations: 0.7933 MB / 422.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.2553, allocations: 2.272 MB / 424.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2553, allocations: 0 / 424.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2553, allocations: 4 kB / 424.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.2553, allocations: 7.938 kB / 424.8 MB, free: 2.715 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.003089/0.2584, allocations: 1.783 MB / 426.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2585, allocations: 12.03 kB / 426.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007153/0.2592, allocations: 211 kB / 426.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.2606, allocations: 1.028 MB / 427.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.2607, allocations: 78.44 kB / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.2608, allocations: 108.1 kB / 428 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.2637, allocations: 1.549 MB / 429.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.2637, allocations: 11.84 kB / 429.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.2639, allocations: 47.97 kB / 429.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.201e-05/0.264, allocations: 46.05 kB / 429.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.2662, allocations: 1.429 MB / 431.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006926/0.2732, allocations: 4.898 MB / 436 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.275, allocations: 1.45 MB / 437.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.2762, allocations: 0.7312 MB / 438.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.2763, allocations: 8.562 kB / 438.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.2773, allocations: 0.616 MB / 438.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.2773, allocations: 0 / 438.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005833/0.2832, allocations: 2.446 MB / 441.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.2833, allocations: 85.77 kB / 441.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.2848, allocations: 0.9581 MB / 442.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.2849, allocations: 45.69 kB / 442.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.2854, allocations: 0.5347 MB / 442.8 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.2856, allocations: 236.8 kB / 443.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.2859, allocations: 130.6 kB / 443.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.286, allocations: 334 kB / 443.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.2867, allocations: 421.6 kB / 443.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.2875, allocations: 0.5446 MB / 444.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.2889, allocations: 0.9503 MB / 445.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2889, allocations: 3.938 kB / 445.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002223/0.2912, allocations: 1.288 MB / 446.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2912, allocations: 8 kB / 446.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.2912, allocations: 7.984 kB / 446.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/0.2922, allocations: 407.1 kB / 447.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.2927, allocations: 111.8 kB / 447.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/0.2984, allocations: 4.494 MB / 451.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.2991, allocations: 79.55 kB / 451.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.2992, allocations: 24 kB / 451.8 MB, free: 6.816 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.0009096/0.3001, allocations: 0.499 MB / 452.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.3004, allocations: 102.8 kB / 452.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.3008, allocations: 120.8 kB / 452.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3008, allocations: 8 kB / 452.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3008, allocations: 0 / 452.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.3008, allocations: 3.984 kB / 452.6 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.305, allocations: 2.598 MB / 455.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3051, allocations: 8 kB / 455.2 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.3055, allocations: 79.88 kB / 455.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008038/0.3063, allocations: 392.5 kB / 455.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.3064, allocations: 19.94 kB / 455.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/0.3118, allocations: 4.471 MB / 460.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3119, allocations: 0 / 460.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.3151, allocations: 1.959 MB / 462.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.3157, allocations: 291.7 kB / 462.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.316, allocations: 16 kB / 462.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.3166, allocations: 47.94 kB / 462.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.3168, allocations: 76.62 kB / 462.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.3169, allocations: 19.98 kB / 462.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.318, allocations: 0.6941 MB / 463.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.318, allocations: 4 kB / 463.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001218/0.3192, allocations: 346.9 kB / 463.6 MB, free: 10.83 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.0002489/0.3195, allocations: 131.1 kB / 463.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.3219, allocations: 1.272 MB / 465 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3219, allocations: 0 / 465 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.3233, allocations: 0.8184 MB / 465.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.3245, allocations: 254.8 kB / 466 MB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/0.3296, allocations: 2.645 MB / 468.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.3308, allocations: 1.37 MB / 470 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.3311, allocations: 63.42 kB / 470.1 MB, free: 4.188 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3311, allocations: 4 kB / 470.1 MB, free: 4.184 MB / 382.1 MB Notification: Performance of Templates: time 0.02996/0.3611, allocations: 22.43 MB / 492.5 MB, free: 13.82 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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