Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 108.5 kB / 17.06 MB, free: 6.023 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.001218/0.001218, allocations: 192 kB / 18 MB, free: 5.105 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 43.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005111/0.2793, allocations: 3.673 MB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.2814, allocations: 1.009 MB / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2817, allocations: 15.94 kB / 405.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.282, allocations: 107.1 kB / 405.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006445/0.2826, allocations: 234.7 kB / 405.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.2829, allocations: 143.7 kB / 405.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.2837, allocations: 0.9495 MB / 406.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.2844, allocations: 0.5887 MB / 407.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.2848, allocations: 414.6 kB / 407.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.2854, allocations: 498.1 kB / 408.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.2856, allocations: 100 kB / 408.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2857, allocations: 104 kB / 408.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.286, allocations: 279.2 kB / 408.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.2865, allocations: 477.8 kB / 409.3 MB, free: 312 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.2875, allocations: 1.282 MB / 410.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2875, allocations: 0 / 410.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2876, allocations: 3.938 kB / 410.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2876, allocations: 0 / 410.6 MB, free: 15.02 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001888/0.2895, allocations: 1.17 MB / 411.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2895, allocations: 8.031 kB / 411.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2897, allocations: 91.91 kB / 411.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.2905, allocations: 0.6352 MB / 412.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.2905, allocations: 49.25 kB / 412.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2906, allocations: 71.98 kB / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.292, allocations: 0.915 MB / 413.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.292, allocations: 7.938 kB / 413.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.2921, allocations: 20 kB / 413.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.2922, allocations: 37.3 kB / 413.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2934, allocations: 0.7975 MB / 414.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.2972, allocations: 2.768 MB / 417.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.2981, allocations: 0.7433 MB / 417.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.2986, allocations: 352.8 kB / 418.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.2986, allocations: 4.328 kB / 418.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/0.2992, allocations: 377.9 kB / 418.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/0.2992, allocations: 4 kB / 418.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002592/0.3018, allocations: 1.228 MB / 419.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3019, allocations: 118.8 kB / 419.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.3025, allocations: 0.5604 MB / 420.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3026, allocations: 41.69 kB / 420.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.3028, allocations: 352 kB / 420.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.303, allocations: 146 kB / 421 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.3031, allocations: 90.19 kB / 421.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3033, allocations: 366.8 kB / 421.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.3036, allocations: 217 kB / 421.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.3041, allocations: 361.7 kB / 422 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.3049, allocations: 0.5691 MB / 422.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.305, allocations: 4 kB / 422.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00119/0.3061, allocations: 0.759 MB / 423.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3062, allocations: 4 kB / 423.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3062, allocations: 4 kB / 423.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.3067, allocations: 208.6 kB / 423.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.307, allocations: 75.89 kB / 423.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.3103, allocations: 3.024 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3106, allocations: 59.55 kB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.3106, allocations: 16 kB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003538/0.311, allocations: 329.5 kB / 427.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.3111, allocations: 59.33 kB / 427.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3112, allocations: 69.28 kB / 427.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3112, allocations: 4 kB / 427.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3112, allocations: 3.938 kB / 427.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3113, allocations: 3.984 kB / 427.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.3136, allocations: 1.741 MB / 428.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3136, allocations: 0 / 428.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3139, allocations: 55.89 kB / 429 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.3143, allocations: 196.8 kB / 429.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3143, allocations: 11.98 kB / 429.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.3172, allocations: 2.902 MB / 432.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3172, allocations: 3.938 kB / 432.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3189, allocations: 1.14 MB / 433.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3192, allocations: 204.2 kB / 433.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.3192, allocations: 12 kB / 433.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3195, allocations: 23.97 kB / 433.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3196, allocations: 43.94 kB / 433.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3197, allocations: 8 kB / 433.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.3201, allocations: 422.8 kB / 434 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3202, allocations: 0 / 434 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006691/0.3208, allocations: 203.3 kB / 434.1 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.321, allocations: 131.2 kB / 434.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3222, allocations: 0.7325 MB / 435 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3222, allocations: 4 kB / 435 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.3229, allocations: 478.8 kB / 435.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.3236, allocations: 149.9 kB / 435.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.3263, allocations: 1.525 MB / 437.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.327, allocations: 1.074 MB / 438.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.3272, allocations: 100.7 kB / 438.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.3273, allocations: 35.44 kB / 438.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3273, allocations: 4 kB / 438.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01691/0.3442, allocations: 10.16 MB / 448.5 MB, free: 8.18 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches