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.001324/0.001324, allocations: 109.9 kB / 17.74 MB, free: 5.359 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.001418/0.001418, allocations: 193.5 kB / 18.67 MB, free: 4.434 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009957/0.0009957, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2466, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005585/0.2522, allocations: 3.657 MB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2542, allocations: 1.005 MB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.2544, allocations: 15.94 kB / 406.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.2547, allocations: 107.1 kB / 406.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006781/0.2554, allocations: 226.7 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.2557, allocations: 139.7 kB / 406.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.2567, allocations: 0.9534 MB / 407.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006862/0.2574, allocations: 0.5926 MB / 408.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.2578, allocations: 406.6 kB / 408.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.2585, allocations: 0.4942 MB / 409 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2587, allocations: 107.9 kB / 409.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.2588, allocations: 104 kB / 409.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.259, allocations: 275.2 kB / 409.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.2595, allocations: 477.8 kB / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2605, allocations: 1.282 MB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2605, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2606, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2606, allocations: 0 / 411.2 MB, free: 15.04 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.001964/0.2625, allocations: 1.17 MB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2626, allocations: 8.031 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.2628, allocations: 91.91 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.2637, allocations: 0.6274 MB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.2637, allocations: 49.25 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.2638, allocations: 75.92 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2652, allocations: 0.9228 MB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2652, allocations: 0 / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.2653, allocations: 24 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.2654, allocations: 33.3 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2666, allocations: 0.7975 MB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.2704, allocations: 2.772 MB / 417.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.2713, allocations: 0.7504 MB / 418.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.2718, allocations: 341.2 kB / 418.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.2719, allocations: 8.328 kB / 418.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.2724, allocations: 381.9 kB / 419.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.2725, allocations: 4 kB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002675/0.2751, allocations: 1.224 MB / 420.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.2753, allocations: 118.8 kB / 420.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.276, allocations: 0.5643 MB / 421.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.276, allocations: 37.7 kB / 421.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.2763, allocations: 355.9 kB / 421.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2764, allocations: 142 kB / 421.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2766, allocations: 86.25 kB / 421.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2767, allocations: 362.8 kB / 422.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.2771, allocations: 221 kB / 422.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.2776, allocations: 361.7 kB / 422.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008062/0.2784, allocations: 0.5691 MB / 423.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2784, allocations: 0 / 423.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001332/0.2797, allocations: 0.759 MB / 424 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2798, allocations: 8 kB / 424 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2798, allocations: 4 kB / 424 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.2804, allocations: 200.6 kB / 424.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.2807, allocations: 75.89 kB / 424.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.2841, allocations: 3.03 MB / 427.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.2846, allocations: 55.61 kB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.2846, allocations: 20 kB / 427.4 MB, free: 14.18 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.0004715/0.2851, allocations: 333.6 kB / 427.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.2852, allocations: 55.34 kB / 427.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2854, allocations: 73.27 kB / 427.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2854, allocations: 8 kB / 427.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2854, allocations: 0 / 427.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2854, allocations: 7.922 kB / 427.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.2879, allocations: 1.736 MB / 429.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2879, allocations: 0 / 429.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2881, allocations: 47.91 kB / 429.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.2886, allocations: 200.7 kB / 429.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.2886, allocations: 11.98 kB / 429.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.2917, allocations: 2.903 MB / 432.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2917, allocations: 3.938 kB / 432.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.2935, allocations: 1.14 MB / 433.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.2938, allocations: 200.2 kB / 434.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.2939, allocations: 15.98 kB / 434.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.2942, allocations: 23.97 kB / 434.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.2943, allocations: 44.12 kB / 434.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.2944, allocations: 8 kB / 434.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.2949, allocations: 422.8 kB / 434.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2949, allocations: 3.938 kB / 434.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.2956, allocations: 207.3 kB / 434.8 MB, free: 6.52 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.0001715/0.2958, allocations: 123.2 kB / 434.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.297, allocations: 0.7287 MB / 435.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2971, allocations: 0 / 435.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.2978, allocations: 489.8 kB / 436.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.2985, allocations: 142.5 kB / 436.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3014, allocations: 1.55 MB / 437.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.3021, allocations: 1.062 MB / 438.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3023, allocations: 43.44 kB / 438.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3023, allocations: 4 kB / 439 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Templates: time 0.01716/0.3194, allocations: 12.95 MB / 451.9 MB, free: 5.383 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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