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.0008837/0.0008837, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.001419/0.001419, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.367/1.367, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 11.94 kB / 301.4 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09447, allocations: 50.42 MB / 351.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004303/0.09883, allocations: 3.307 MB / 355.2 MB, free: 108 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1016, allocations: 0.9742 MB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.1023, allocations: 11.94 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.1027, allocations: 91.39 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009184/0.1036, allocations: 215 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.104, allocations: 119.8 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1052, allocations: 1.063 MB / 357.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.106, allocations: 0.4978 MB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.1065, allocations: 314.5 kB / 358.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.1072, allocations: 418.2 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.1073, allocations: 44 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.1074, allocations: 40 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.1076, allocations: 203.2 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.108, allocations: 427.5 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.1089, allocations: 1.191 MB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1089, allocations: 4 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.109, allocations: 0 / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.109, allocations: 0 / 360.7 MB, free: 10.5 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.001786/0.1108, allocations: 1.018 MB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1108, allocations: 16.02 kB / 361.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.111, allocations: 91.81 kB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.1118, allocations: 0.6119 MB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.1118, allocations: 53.25 kB / 362.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1119, allocations: 64 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1134, allocations: 0.9267 MB / 363.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1135, allocations: 3.906 kB / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.1136, allocations: 27.98 kB / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.1136, allocations: 29.31 kB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1151, allocations: 0.8092 MB / 364.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.119, allocations: 2.827 MB / 367.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.12, allocations: 0.7559 MB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.1206, allocations: 361 kB / 368.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1207, allocations: 8.312 kB / 368.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006528/0.1213, allocations: 385.9 kB / 368.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.1213, allocations: 4 kB / 368.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002963/0.1243, allocations: 1.256 MB / 370 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.1244, allocations: 106.8 kB / 370.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.1251, allocations: 0.5721 MB / 370.6 MB, free: 224 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1251, allocations: 37.7 kB / 370.7 MB, free: 180 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1761/0.3012, allocations: 349 kB / 371 MB, free: 24.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3015, allocations: 136.4 kB / 371.1 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3016, allocations: 47.95 kB / 371.2 MB, free: 24.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3017, allocations: 366.2 kB / 371.6 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.3022, allocations: 225.5 kB / 371.8 MB, free: 24.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.3027, allocations: 363.9 kB / 372.1 MB, free: 24.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.3035, allocations: 0.5778 MB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3035, allocations: 1.312 kB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001401/0.3049, allocations: 0.7698 MB / 373.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.305, allocations: 6.812 kB / 373.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.305, allocations: 5.844 kB / 373.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.3055, allocations: 204.2 kB / 373.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3058, allocations: 75.58 kB / 373.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.3087, allocations: 2.783 MB / 376.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3091, allocations: 58.05 kB / 376.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3091, allocations: 20.72 kB / 376.6 MB, free: 22.04 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.0003922/0.3095, allocations: 329.1 kB / 376.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.3096, allocations: 59.39 kB / 377 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.3097, allocations: 69.59 kB / 377.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3097, allocations: 5.203 kB / 377.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3098, allocations: 1.375 kB / 377.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3098, allocations: 2.062 kB / 377.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.3121, allocations: 1.769 MB / 378.8 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3121, allocations: 2.125 kB / 378.8 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3124, allocations: 45.33 kB / 378.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.3128, allocations: 195.6 kB / 379.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3128, allocations: 9.172 kB / 379.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.3153, allocations: 2.644 MB / 381.7 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3153, allocations: 1.875 kB / 381.7 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.3171, allocations: 1.166 MB / 382.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.3173, allocations: 192.5 kB / 383.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.3174, allocations: 12.23 kB / 383.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.3177, allocations: 28.12 kB / 383.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3178, allocations: 41.5 kB / 383.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3178, allocations: 18.25 kB / 383.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004812/0.3183, allocations: 417 kB / 383.6 MB, free: 18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3183, allocations: 5.094 kB / 383.6 MB, free: 18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007242/0.319, allocations: 205.3 kB / 383.8 MB, free: 17.95 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.0001266/0.3192, allocations: 117.3 kB / 383.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3204, allocations: 0.7324 MB / 384.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3204, allocations: 1.156 kB / 384.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.3211, allocations: 481.9 kB / 385.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.3218, allocations: 140 kB / 385.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3246, allocations: 1.887 MB / 387.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.3252, allocations: 1.069 MB / 388.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.3255, allocations: 95.05 kB / 388.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.3256, allocations: 36.67 kB / 388.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3256, allocations: 0 / 388.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Templates: time 0.01381/0.3394, allocations: 9.315 MB / 397.7 MB, free: 10.18 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