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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 110.3 kB / 17.06 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 51.86 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2676, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005453/0.2731, allocations: 4.562 MB / 405.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.275, allocations: 1.211 MB / 406.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.2753, allocations: 31.88 kB / 406.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.2756, allocations: 162.7 kB / 406.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.2764, allocations: 354 kB / 407.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.2768, allocations: 195.7 kB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.2781, allocations: 1.607 MB / 408.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.2792, allocations: 1.102 MB / 410 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.2799, allocations: 0.6852 MB / 410.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.2809, allocations: 0.8445 MB / 411.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.2811, allocations: 183.9 kB / 411.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.2814, allocations: 176 kB / 411.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.2818, allocations: 482.7 kB / 412.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.2825, allocations: 0.7894 MB / 413.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.2843, allocations: 2.248 MB / 415.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2843, allocations: 0 / 415.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2843, allocations: 0 / 415.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.2843, allocations: 0 / 415.3 MB, free: 10.18 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.002822/0.2871, allocations: 1.764 MB / 417.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2872, allocations: 8.031 kB / 417.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.2874, allocations: 151.2 kB / 417.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.2888, allocations: 0.9812 MB / 418.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.2888, allocations: 86.38 kB / 418.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.289, allocations: 112.1 kB / 418.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.2913, allocations: 1.549 MB / 420 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2914, allocations: 4 kB / 420 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.2915, allocations: 43.98 kB / 420 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.2915, allocations: 46.05 kB / 420.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.2938, allocations: 1.433 MB / 421.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/0.3001, allocations: 4.89 MB / 426.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3017, allocations: 1.45 MB / 427.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3029, allocations: 0.735 MB / 428.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.303, allocations: 8.547 kB / 428.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000941/0.3039, allocations: 0.6084 MB / 429.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.3039, allocations: 7.938 kB / 429.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005527/0.3095, allocations: 2.427 MB / 431.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.3096, allocations: 101.6 kB / 431.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3108, allocations: 0.9305 MB / 432.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.3109, allocations: 41.7 kB / 432.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.3113, allocations: 0.5269 MB / 433.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.3115, allocations: 232.7 kB / 433.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.3118, allocations: 130.6 kB / 433.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.312, allocations: 334 kB / 433.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.3127, allocations: 417.7 kB / 434.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.3135, allocations: 0.5446 MB / 434.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.3149, allocations: 0.9543 MB / 435.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.3149, allocations: 3.938 kB / 435.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002281/0.3172, allocations: 1.292 MB / 437.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3172, allocations: 10.5 kB / 437.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3172, allocations: 0 / 437.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3183, allocations: 399.8 kB / 437.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.3188, allocations: 119.8 kB / 437.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.3245, allocations: 4.507 MB / 442.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.3251, allocations: 83.48 kB / 442.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.3252, allocations: 27.98 kB / 442.3 MB, free: 14.43 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.000749/0.3259, allocations: 487.2 kB / 442.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.3261, allocations: 102.8 kB / 442.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3263, allocations: 116.5 kB / 442.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3263, allocations: 4 kB / 442.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3264, allocations: 4 kB / 443 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3264, allocations: 3.984 kB / 443 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.3302, allocations: 2.59 MB / 445.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.3302, allocations: 7.984 kB / 445.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.3306, allocations: 87.88 kB / 445.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008191/0.3315, allocations: 385 kB / 446 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.3315, allocations: 19.94 kB / 446 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.3367, allocations: 4.466 MB / 450.5 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3367, allocations: 4 kB / 450.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.3396, allocations: 1.952 MB / 452.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.34, allocations: 279.9 kB / 452.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3401, allocations: 16 kB / 452.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.3406, allocations: 47.94 kB / 452.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.3407, allocations: 76.55 kB / 452.9 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.3408, allocations: 19.98 kB / 452.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008322/0.3416, allocations: 0.6746 MB / 453.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3416, allocations: 0 / 453.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009075/0.3426, allocations: 354.8 kB / 453.9 MB, free: 2.516 MB / 366.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.0001579/0.3427, allocations: 131.2 kB / 454 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.3447, allocations: 1.299 MB / 455.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3448, allocations: 3.984 kB / 455.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3459, allocations: 0.8032 MB / 456.1 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.3469, allocations: 258.4 kB / 456.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.351, allocations: 2.59 MB / 459 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/0.3519, allocations: 1.388 MB / 460.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.3523, allocations: 167.3 kB / 460.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3525, allocations: 59.42 kB / 460.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3525, allocations: 4 kB / 460.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02766/0.3802, allocations: 18.46 MB / 479.1 MB, free: 9.5 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (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) 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) Reference file matches