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.001498/0.001498, allocations: 116.5 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 59.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2854, allocations: 50.54 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005131/0.2906, allocations: 3.709 MB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2926, allocations: 1.075 MB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.2929, allocations: 11.94 kB / 414.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.2931, allocations: 111.1 kB / 414.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.2937, allocations: 238.6 kB / 414.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.2941, allocations: 159.7 kB / 414.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.2949, allocations: 0.9689 MB / 415.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.2956, allocations: 0.6005 MB / 416.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004903/0.2961, allocations: 422.6 kB / 416.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.2967, allocations: 0.4902 MB / 417 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.2969, allocations: 104 kB / 417.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.297, allocations: 100 kB / 417.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.2973, allocations: 283.2 kB / 417.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.2978, allocations: 481.8 kB / 418 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.2991, allocations: 1.309 MB / 419.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2991, allocations: 0 / 419.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2991, allocations: 0 / 419.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2991, allocations: 0 / 419.3 MB, free: 7.523 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.002113/0.3012, allocations: 1.17 MB / 420.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3013, allocations: 20.02 kB / 420.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.3017, allocations: 123.8 kB / 420.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.3026, allocations: 0.6607 MB / 421.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.3026, allocations: 49.25 kB / 421.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3027, allocations: 67.94 kB / 421.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.3041, allocations: 0.9189 MB / 422.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.3041, allocations: 4 kB / 422.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.3042, allocations: 28 kB / 422.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.3043, allocations: 33.28 kB / 422.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3055, allocations: 0.7974 MB / 423.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.3092, allocations: 2.78 MB / 425.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.3102, allocations: 0.7487 MB / 426.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.3107, allocations: 341.3 kB / 427 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.3108, allocations: 4.328 kB / 427 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/0.3113, allocations: 381.8 kB / 427.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.3114, allocations: 0 / 427.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002675/0.314, allocations: 1.229 MB / 428.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3142, allocations: 122.6 kB / 428.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.3148, allocations: 0.5801 MB / 429.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.3149, allocations: 37.7 kB / 429.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.3152, allocations: 363.8 kB / 429.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3153, allocations: 134.1 kB / 429.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.3154, allocations: 94.16 kB / 429.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3156, allocations: 362.8 kB / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.316, allocations: 225 kB / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.3165, allocations: 353.8 kB / 430.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.3173, allocations: 0.573 MB / 431.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3173, allocations: 4 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00118/0.3185, allocations: 0.7509 MB / 432.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3185, allocations: 14.8 kB / 432.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3185, allocations: 4.5 kB / 432.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.319, allocations: 208.7 kB / 432.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3193, allocations: 75.84 kB / 432.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.3226, allocations: 3.037 MB / 435.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.323, allocations: 51.61 kB / 435.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.323, allocations: 16 kB / 435.6 MB, free: 6.559 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.000512/0.3235, allocations: 333.5 kB / 435.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.3236, allocations: 55.34 kB / 436 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3238, allocations: 73.42 kB / 436 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3238, allocations: 8 kB / 436 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3238, allocations: 0 / 436 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3238, allocations: 3.938 kB / 436 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3262, allocations: 1.741 MB / 437.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3262, allocations: 4 kB / 437.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3264, allocations: 43.91 kB / 437.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.3269, allocations: 200.8 kB / 438 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.327, allocations: 11.98 kB / 438 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.3297, allocations: 2.915 MB / 441 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3298, allocations: 3.938 kB / 441 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3314, allocations: 1.15 MB / 442.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3316, allocations: 188.3 kB / 442.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3317, allocations: 15.98 kB / 442.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.332, allocations: 23.97 kB / 442.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3321, allocations: 55.66 kB / 442.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.3321, allocations: 12 kB / 442.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004719/0.3326, allocations: 426.8 kB / 442.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3326, allocations: 3.938 kB / 442.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006936/0.3333, allocations: 211.2 kB / 443 MB, free: 14.85 MB / 366.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.0001533/0.3335, allocations: 115.5 kB / 443.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.3346, allocations: 0.7366 MB / 443.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3346, allocations: 1 kB / 443.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.3353, allocations: 474.5 kB / 444.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.3359, allocations: 149.3 kB / 444.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.3385, allocations: 1.564 MB / 446 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.339, allocations: 1.078 MB / 447.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.3393, allocations: 96.78 kB / 447.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.93e-05/0.3394, allocations: 43.42 kB / 447.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3394, allocations: 0 / 447.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01639/0.3558, allocations: 10.27 MB / 457.5 MB, free: 408 kB / 366.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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches