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.001086/0.001086, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001157/0.001157, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.398/1.398, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 51.02 kB / 301.3 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09498, allocations: 49.45 MB / 350.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005257/0.1003, allocations: 3.643 MB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1025, allocations: 1.021 MB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.103, allocations: 15.94 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.1034, allocations: 103.1 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.1045, allocations: 230.6 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1049, allocations: 139.8 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.1061, allocations: 0.9457 MB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.107, allocations: 0.5926 MB / 357.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.1076, allocations: 410.6 kB / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.1085, allocations: 494.1 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.1088, allocations: 104 kB / 358.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.1091, allocations: 96 kB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.1094, allocations: 279.2 kB / 358.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007135/0.1101, allocations: 481.8 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1113, allocations: 1.27 MB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1113, allocations: 0 / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1113, allocations: 4 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1113, allocations: 0 / 360.5 MB, free: 10.52 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.001975/0.1133, allocations: 1.166 MB / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1133, allocations: 12.03 kB / 361.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1135, allocations: 95.81 kB / 361.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.1144, allocations: 0.608 MB / 362.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.1144, allocations: 57.19 kB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.1145, allocations: 71.98 kB / 362.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1159, allocations: 0.915 MB / 363.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.116, allocations: 4 kB / 363.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.116, allocations: 24 kB / 363.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.1161, allocations: 37.3 kB / 363.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1174, allocations: 0.7936 MB / 364.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.1212, allocations: 2.799 MB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.1221, allocations: 0.7515 MB / 367.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.1227, allocations: 349.1 kB / 368.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1227, allocations: 4.328 kB / 368.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005967/0.1233, allocations: 381.9 kB / 368.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.065e-06/0.1234, allocations: 0 / 368.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.00283/0.1262, allocations: 1.243 MB / 369.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.1263, allocations: 106.8 kB / 369.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.127, allocations: 0.5683 MB / 370.5 MB, free: 188 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.127, allocations: 33.7 kB / 370.5 MB, free: 148 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.164/0.2911, allocations: 354.2 kB / 370.9 MB, free: 25.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.2913, allocations: 136.2 kB / 371 MB, free: 25.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.2915, allocations: 93.19 kB / 371.1 MB, free: 25.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2916, allocations: 362.5 kB / 371.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.2921, allocations: 220.4 kB / 371.7 MB, free: 25.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.2925, allocations: 360.7 kB / 372 MB, free: 25.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/0.2933, allocations: 0.5679 MB / 372.6 MB, free: 24.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2933, allocations: 1.031 kB / 372.6 MB, free: 24.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001339/0.2947, allocations: 0.7602 MB / 373.3 MB, free: 24.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2947, allocations: 6.031 kB / 373.3 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2947, allocations: 4.906 kB / 373.4 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.2952, allocations: 210.5 kB / 373.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.2955, allocations: 73.94 kB / 373.6 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.2986, allocations: 3.031 MB / 376.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.2989, allocations: 50.25 kB / 376.7 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.299, allocations: 19.92 kB / 376.7 MB, free: 22.44 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.0004013/0.2994, allocations: 331.4 kB / 377.1 MB, free: 22.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.2995, allocations: 55.55 kB / 377.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.2996, allocations: 73.22 kB / 377.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2996, allocations: 6.375 kB / 377.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2996, allocations: 0.7031 kB / 377.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2996, allocations: 3.484 kB / 377.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.302, allocations: 1.748 MB / 378.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.302, allocations: 1.094 kB / 378.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.3022, allocations: 47.78 kB / 379 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.3027, allocations: 202.6 kB / 379.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.3027, allocations: 9.578 kB / 379.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.3053, allocations: 2.903 MB / 382.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3053, allocations: 1.438 kB / 382.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.307, allocations: 1.146 MB / 383.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.3073, allocations: 196.7 kB / 383.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.3073, allocations: 7.734 kB / 383.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.3076, allocations: 32.2 kB / 383.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3078, allocations: 43.94 kB / 383.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.3078, allocations: 11.47 kB / 383.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005484/0.3084, allocations: 421.8 kB / 383.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3084, allocations: 1.031 kB / 383.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.3092, allocations: 206.3 kB / 384.1 MB, free: 18.14 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.0001713/0.3094, allocations: 122.4 kB / 384.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.311, allocations: 0.7711 MB / 385 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.311, allocations: 9.344 kB / 385 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.3117, allocations: 475 kB / 385.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.3124, allocations: 156.7 kB / 385.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.3152, allocations: 1.579 MB / 387.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.3158, allocations: 1.058 MB / 388.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3159, allocations: 44.67 kB / 388.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of SimCode: time 1.724e-06/0.316, allocations: 0 / 388.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01384/0.3298, allocations: 12.81 MB / 401.2 MB, free: 6.996 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/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches