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.001562/0.001562, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001834/0.001834, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.301/1.301, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009284/0.0009284, allocations: 47.64 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08175, allocations: 49.44 MB / 350.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004538/0.08633, allocations: 3.658 MB / 353.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.08793, allocations: 1.021 MB / 354.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.08812, allocations: 15.94 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.08837, allocations: 107.1 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005863/0.08897, allocations: 226.7 kB / 355.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.08924, allocations: 143.7 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008094/0.09006, allocations: 0.9457 MB / 356.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.09071, allocations: 0.5887 MB / 356.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.09111, allocations: 410.6 kB / 357.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.09167, allocations: 490.1 kB / 357.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.09182, allocations: 104 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.09198, allocations: 100 kB / 357.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.09221, allocations: 283.2 kB / 358.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.09263, allocations: 477.8 kB / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.09365, allocations: 1.27 MB / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09366, allocations: 0 / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09367, allocations: 0 / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.09368, allocations: 0 / 359.9 MB, free: 10.59 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.001868/0.09556, allocations: 1.169 MB / 361 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.0956, allocations: 12.03 kB / 361 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.09575, allocations: 91.81 kB / 361.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.09653, allocations: 0.6158 MB / 361.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.09658, allocations: 57.25 kB / 361.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.09669, allocations: 64 kB / 361.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.09803, allocations: 0.9111 MB / 362.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.09806, allocations: 3.938 kB / 362.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.09814, allocations: 31.98 kB / 362.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.09819, allocations: 37.3 kB / 362.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.09944, allocations: 0.7897 MB / 363.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1033, allocations: 2.803 MB / 366.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.1042, allocations: 0.7488 MB / 367.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.1048, allocations: 353.1 kB / 367.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1048, allocations: 8.328 kB / 367.5 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.1054, allocations: 377.9 kB / 367.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.756e-06/0.1055, allocations: 0 / 367.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002725/0.1082, allocations: 1.239 MB / 369.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1083, allocations: 106.8 kB / 369.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.1089, allocations: 0.5683 MB / 369.8 MB, free: 264 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1089, allocations: 33.7 kB / 369.8 MB, free: 224 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1606/0.2695, allocations: 349.1 kB / 370.2 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.2697, allocations: 139.2 kB / 370.3 MB, free: 25.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2699, allocations: 96.22 kB / 370.4 MB, free: 25.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2701, allocations: 362.8 kB / 370.8 MB, free: 25.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.2706, allocations: 219.3 kB / 371 MB, free: 25.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.2712, allocations: 361.2 kB / 371.3 MB, free: 25.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2722, allocations: 0.5671 MB / 371.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.2723, allocations: 4.562 kB / 371.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00157/0.2738, allocations: 0.7622 MB / 372.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2739, allocations: 6.406 kB / 372.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2739, allocations: 4.125 kB / 372.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.2745, allocations: 208.8 kB / 372.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.2748, allocations: 73.66 kB / 373 MB, free: 24.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.2781, allocations: 3.036 MB / 376 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.2785, allocations: 50.91 kB / 376 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.2785, allocations: 19.33 kB / 376.1 MB, free: 22.58 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.0004298/0.279, allocations: 325 kB / 376.4 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2791, allocations: 54.95 kB / 376.4 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2792, allocations: 70.25 kB / 376.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2792, allocations: 5.031 kB / 376.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2792, allocations: 1.281 kB / 376.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.2792, allocations: 6.453 kB / 376.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.2817, allocations: 1.75 MB / 378.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2817, allocations: 0.5625 kB / 378.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2819, allocations: 47.08 kB / 378.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.2823, allocations: 204.2 kB / 378.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.2824, allocations: 8.641 kB / 378.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.2851, allocations: 2.901 MB / 381.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2851, allocations: 1.594 kB / 381.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.2868, allocations: 1.145 MB / 382.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.287, allocations: 192.4 kB / 382.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.2871, allocations: 16.2 kB / 382.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.2874, allocations: 24.3 kB / 382.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2875, allocations: 42.88 kB / 382.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.2876, allocations: 11.22 kB / 382.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004763/0.2881, allocations: 418.2 kB / 383.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2881, allocations: 0 / 383.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.2888, allocations: 210.7 kB / 383.5 MB, free: 18.29 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.0001363/0.2889, allocations: 126.6 kB / 383.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2902, allocations: 0.7785 MB / 384.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2902, allocations: 7.938 kB / 384.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.2909, allocations: 482.6 kB / 384.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.2916, allocations: 146.6 kB / 385 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.2945, allocations: 1.548 MB / 386.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.2952, allocations: 1.069 MB / 387.6 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.2956, allocations: 93.97 kB / 387.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.2957, allocations: 37.89 kB / 387.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2957, allocations: 1.938 kB / 387.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of Templates: time 0.01581/0.3116, allocations: 10.03 MB / 397.8 MB, free: 9.992 MB / 302.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/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches