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.001359/0.001359, allocations: 114.8 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.00112, allocations: 216.5 kB / 19.36 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.23 kB / 308.4 MB, free: 15.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 50.53 MB / 358.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005669/0.1072, allocations: 3.692 MB / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1091, allocations: 1.087 MB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.1094, allocations: 15.94 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1096, allocations: 107.1 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.1104, allocations: 226.6 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1107, allocations: 163.7 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008992/0.1116, allocations: 0.9612 MB / 365.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.1124, allocations: 0.6121 MB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.1129, allocations: 418.6 kB / 366.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.1135, allocations: 0.4902 MB / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1136, allocations: 104 kB / 366.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1138, allocations: 100 kB / 366.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.1141, allocations: 283.2 kB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.1145, allocations: 481.8 kB / 367.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1156, allocations: 1.301 MB / 368.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1156, allocations: 4 kB / 368.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1157, allocations: 7.984 kB / 368.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1157, allocations: 0 / 368.9 MB, free: 3.191 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.00205/0.1177, allocations: 1.173 MB / 370.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1178, allocations: 12.03 kB / 370.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.1182, allocations: 123.8 kB / 370.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.1193, allocations: 0.6568 MB / 370.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.1193, allocations: 53.25 kB / 371 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1194, allocations: 71.98 kB / 371 MB, free: 1.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1208, allocations: 0.9189 MB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1209, allocations: 11.84 kB / 372 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.121, allocations: 20 kB / 372 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.121, allocations: 33.31 kB / 372 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.149/0.27, allocations: 0.791 MB / 372.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.2739, allocations: 2.778 MB / 375.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.2748, allocations: 0.753 MB / 376.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.2753, allocations: 340.8 kB / 376.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.2754, allocations: 8.672 kB / 376.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.2759, allocations: 383.6 kB / 377 MB, free: 17.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.2759, allocations: 0 / 377 MB, free: 17.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002701/0.2787, allocations: 1.225 MB / 378.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2787, allocations: 114.1 kB / 378.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.2794, allocations: 0.5864 MB / 379 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.2795, allocations: 37.09 kB / 379 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.2797, allocations: 365.8 kB / 379.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.2798, allocations: 135.7 kB / 379.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2799, allocations: 91.98 kB / 379.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.28, allocations: 375 kB / 379.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2804, allocations: 218.2 kB / 380.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.2808, allocations: 366 kB / 380.5 MB, free: 16.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.2815, allocations: 0.5728 MB / 381.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2815, allocations: 1.344 kB / 381.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001123/0.2826, allocations: 0.7519 MB / 381.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2827, allocations: 7.125 kB / 381.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2827, allocations: 7.562 kB / 381.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.2832, allocations: 203.9 kB / 382.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2835, allocations: 78.02 kB / 382.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.2867, allocations: 3.03 MB / 385.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.2871, allocations: 49.11 kB / 385.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2871, allocations: 23.02 kB / 385.2 MB, free: 13.07 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.0004483/0.2876, allocations: 323.6 kB / 385.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.2877, allocations: 60.12 kB / 385.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2878, allocations: 71.03 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2878, allocations: 6.328 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2878, allocations: 1.062 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2878, allocations: 3.859 kB / 385.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.2906, allocations: 1.75 MB / 387.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2906, allocations: 3.938 kB / 387.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.2909, allocations: 50.7 kB / 387.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.2913, allocations: 200.1 kB / 387.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.2913, allocations: 11.25 kB / 387.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/0.2944, allocations: 2.913 MB / 390.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2944, allocations: 0 / 390.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2963, allocations: 1.14 MB / 391.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.2966, allocations: 193.1 kB / 391.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.2967, allocations: 15.52 kB / 392 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.297, allocations: 19.92 kB / 392 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2971, allocations: 54.98 kB / 392 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.2971, allocations: 11.5 kB / 392 MB, free: 8.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005533/0.2977, allocations: 431.8 kB / 392.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2977, allocations: 4 kB / 392.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007987/0.2985, allocations: 210.2 kB / 392.7 MB, free: 8.379 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.0001739/0.2987, allocations: 125.8 kB / 392.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3, allocations: 0.7266 MB / 393.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3, allocations: 0 / 393.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.3006, allocations: 471.7 kB / 394 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.3013, allocations: 151.3 kB / 394.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.3039, allocations: 1.565 MB / 395.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.3044, allocations: 1.08 MB / 396.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.3047, allocations: 101 kB / 396.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3048, allocations: 37.16 kB / 396.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3048, allocations: 0 / 396.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of Templates: time 0.0158/0.3206, allocations: 10.14 MB / 407 MB, free: 13.2 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 -s cvode -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