Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 59.59 kB / 306.9 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08902, allocations: 50.54 MB / 357.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004608/0.09366, allocations: 3.742 MB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.0954, allocations: 1.071 MB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.09562, allocations: 15.94 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.09588, allocations: 83.41 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.09646, allocations: 210.9 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.09673, allocations: 131.8 kB / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.09766, allocations: 1.074 MB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.09832, allocations: 0.5173 MB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.09873, allocations: 354.6 kB / 364.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.09926, allocations: 474 kB / 365.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.09937, allocations: 60 kB / 365.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.09953, allocations: 64 kB / 365.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.09976, allocations: 235.1 kB / 365.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.1002, allocations: 433.8 kB / 365.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.101, allocations: 1.049 MB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.101, allocations: 0 / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.101, allocations: 4 kB / 366.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.101, allocations: 4 kB / 366.9 MB, free: 4.934 MB / 302.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.001997/0.1031, allocations: 1.174 MB / 368.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1031, allocations: 12.03 kB / 368.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.1035, allocations: 119.8 kB / 368.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.1044, allocations: 0.6373 MB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.1044, allocations: 57.23 kB / 368.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1045, allocations: 68 kB / 369 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.106, allocations: 0.915 MB / 369.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.106, allocations: 3.906 kB / 369.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.1061, allocations: 28 kB / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.1062, allocations: 37.3 kB / 370 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.1075, allocations: 0.7897 MB / 370.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.2717, allocations: 2.803 MB / 373.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.2727, allocations: 0.751 MB / 374.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.2733, allocations: 351.3 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.2733, allocations: 3.578 kB / 374.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.274, allocations: 387.5 kB / 375 MB, free: 18.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.274, allocations: 0 / 375 MB, free: 18.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002904/0.2769, allocations: 1.228 MB / 376.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.277, allocations: 117.6 kB / 376.4 MB, free: 17.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.2777, allocations: 0.5822 MB / 377 MB, free: 17.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2777, allocations: 37.06 kB / 377 MB, free: 17.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.278, allocations: 370.8 kB / 377.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.2781, allocations: 132.5 kB / 377.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.2782, allocations: 91.31 kB / 377.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2784, allocations: 367.5 kB / 377.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.2787, allocations: 225.8 kB / 378.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.2792, allocations: 354.8 kB / 378.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.2799, allocations: 0.5695 MB / 379.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2799, allocations: 1.062 kB / 379.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001193/0.2811, allocations: 0.7586 MB / 379.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2811, allocations: 6.844 kB / 379.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2812, allocations: 5.406 kB / 379.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.2817, allocations: 203.7 kB / 380 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.282, allocations: 73.03 kB / 380.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.2848, allocations: 2.779 MB / 382.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.2851, allocations: 53.89 kB / 383 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.2852, allocations: 19.11 kB / 383 MB, free: 13.68 MB / 302.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.0005635/0.2858, allocations: 327.6 kB / 383.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2859, allocations: 64.72 kB / 383.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.2861, allocations: 66.69 kB / 383.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2861, allocations: 4.656 kB / 383.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2861, allocations: 1.812 kB / 383.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.2861, allocations: 7.359 kB / 383.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.29, allocations: 1.756 MB / 385.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.29, allocations: 1.094 kB / 385.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.2904, allocations: 46.11 kB / 385.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006224/0.291, allocations: 196.9 kB / 385.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.2911, allocations: 7.609 kB / 385.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.2948, allocations: 2.644 MB / 388.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2948, allocations: 3.906 kB / 388.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.2973, allocations: 1.147 MB / 389.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.2977, allocations: 192.9 kB / 389.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.2979, allocations: 7.438 kB / 389.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.2984, allocations: 26.47 kB / 389.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.2986, allocations: 43.75 kB / 389.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.2986, allocations: 15.36 kB / 389.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007729/0.2994, allocations: 436.4 kB / 389.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2994, allocations: 1.438 kB / 389.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001164/0.3006, allocations: 205.4 kB / 390.1 MB, free: 9.566 MB / 302.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.0002254/0.3008, allocations: 119.5 kB / 390.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3026, allocations: 0.7282 MB / 391 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3026, allocations: 1.438 kB / 391 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.3036, allocations: 479.2 kB / 391.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3047, allocations: 137.3 kB / 391.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.309, allocations: 1.887 MB / 393.5 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.3098, allocations: 1.068 MB / 394.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.31, allocations: 42.03 kB / 394.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.31, allocations: 0 / 394.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01931/0.3293, allocations: 13.05 MB / 407.6 MB, free: 12.26 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches