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.001591/0.001591, allocations: 118.2 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.002866/0.002866, 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.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2419, allocations: 50.55 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004631/0.2466, allocations: 3.694 MB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2488, allocations: 1.087 MB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.2491, allocations: 19.94 kB / 414.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.2495, allocations: 103.1 kB / 414.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008697/0.2504, allocations: 226.7 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.2509, allocations: 159.7 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.2522, allocations: 0.965 MB / 415.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2533, allocations: 0.6044 MB / 416.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.254, allocations: 422.5 kB / 416.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.2548, allocations: 498.1 kB / 417 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.2551, allocations: 100 kB / 417.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2554, allocations: 112 kB / 417.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.2557, allocations: 275.2 kB / 417.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.2563, allocations: 489.7 kB / 418 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.258, allocations: 1.298 MB / 419.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.258, allocations: 0 / 419.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.258, allocations: 0 / 419.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.258, allocations: 0 / 419.3 MB, free: 7.527 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.002961/0.261, allocations: 1.189 MB / 420.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2611, allocations: 8.031 kB / 420.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/0.2617, allocations: 123.8 kB / 420.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2631, allocations: 0.6529 MB / 421.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.2632, allocations: 57.23 kB / 421.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2634, allocations: 67.98 kB / 421.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.2657, allocations: 0.9189 MB / 422.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.2658, allocations: 3.984 kB / 422.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2659, allocations: 28 kB / 422.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.266, allocations: 29.3 kB / 422.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.2681, allocations: 0.7936 MB / 423.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.274, allocations: 2.791 MB / 425.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.2754, allocations: 0.7448 MB / 426.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/0.2763, allocations: 337.3 kB / 427 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2764, allocations: 4.328 kB / 427 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009011/0.2773, allocations: 385.8 kB / 427.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.2773, allocations: 0 / 427.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0043/0.2816, allocations: 1.233 MB / 428.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.2817, allocations: 114.6 kB / 428.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2829, allocations: 0.5802 MB / 429.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.283, allocations: 37.69 kB / 429.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.2834, allocations: 367.8 kB / 429.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.2836, allocations: 134.1 kB / 429.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.2838, allocations: 90.16 kB / 429.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.2841, allocations: 374.8 kB / 430.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.2847, allocations: 221 kB / 430.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.2854, allocations: 360 kB / 430.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2867, allocations: 0.5699 MB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2867, allocations: 0 / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001946/0.2887, allocations: 0.7514 MB / 432.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2887, allocations: 10.81 kB / 432.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2887, allocations: 11.97 kB / 432.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000776/0.2895, allocations: 204.7 kB / 432.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.29, allocations: 75.83 kB / 432.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.2952, allocations: 3.04 MB / 435.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.2958, allocations: 51.58 kB / 435.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.2959, allocations: 20 kB / 435.6 MB, free: 6.551 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.0006843/0.2966, allocations: 329.6 kB / 435.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.2967, allocations: 59.34 kB / 436 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.2969, allocations: 69.44 kB / 436 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2969, allocations: 4 kB / 436 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2969, allocations: 3.984 kB / 436 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.297, allocations: 0 / 436 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.3007, allocations: 1.752 MB / 437.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3007, allocations: 0 / 437.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.3011, allocations: 43.97 kB / 437.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/0.3018, allocations: 196.8 kB / 438 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.3018, allocations: 12.03 kB / 438 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.3054, allocations: 2.915 MB / 440.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3054, allocations: 3.938 kB / 440.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.3081, allocations: 1.138 MB / 442.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.3085, allocations: 192.3 kB / 442.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.3086, allocations: 12 kB / 442.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.3091, allocations: 31.97 kB / 442.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3093, allocations: 47.72 kB / 442.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.3093, allocations: 15.98 kB / 442.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007424/0.3101, allocations: 426.8 kB / 442.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3101, allocations: 0 / 442.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001113/0.3112, allocations: 211.2 kB / 443 MB, free: 14.86 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.000214/0.3114, allocations: 131.4 kB / 443.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3134, allocations: 0.7259 MB / 443.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3134, allocations: 8.047 kB / 443.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3144, allocations: 478.2 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.001158/0.3156, allocations: 150.3 kB / 444.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.3197, allocations: 1.558 MB / 446 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000981/0.3207, allocations: 1.078 MB / 447.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000447/0.3211, allocations: 96.78 kB / 447.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3213, allocations: 43.44 kB / 447.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3213, allocations: 4 kB / 447.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.02602/0.3473, allocations: 10.25 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