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.001579/0.001579, allocations: 109.8 kB / 17.28 MB, free: 6.199 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.001666/0.001666, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.547/1.547, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 49.95 kB / 300.8 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.09037, allocations: 49.46 MB / 350.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005209/0.09562, allocations: 3.685 MB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.09758, allocations: 0.9897 MB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.09798, allocations: 15.94 kB / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.09834, allocations: 87.5 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.0992, allocations: 210.9 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.09956, allocations: 119.8 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1006, allocations: 0.9456 MB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.1014, allocations: 0.5965 MB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.1019, allocations: 410.6 kB / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.1027, allocations: 0.4942 MB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1028, allocations: 100 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1031, allocations: 100 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.1033, allocations: 287.1 kB / 358.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.1039, allocations: 477.8 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008665/0.1048, allocations: 1.049 MB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1048, allocations: 0 / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1048, allocations: 3.938 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.1048, allocations: 0 / 359.8 MB, free: 11.14 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.002059/0.1069, allocations: 1.169 MB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.107, allocations: 8.031 kB / 361 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1071, allocations: 91.81 kB / 361.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.1079, allocations: 0.6158 MB / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.1079, allocations: 57.25 kB / 361.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.108, allocations: 64 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1094, allocations: 0.915 MB / 362.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1095, allocations: 4 kB / 362.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.1095, allocations: 24 kB / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.1096, allocations: 33.3 kB / 362.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1108, allocations: 0.7936 MB / 363.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.1144, allocations: 2.803 MB / 366.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.1153, allocations: 0.7505 MB / 367.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.1158, allocations: 353.1 kB / 367.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1159, allocations: 4.328 kB / 367.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/0.1165, allocations: 381.8 kB / 367.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.1165, allocations: 0 / 367.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002635/0.1191, allocations: 1.237 MB / 369.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.1192, allocations: 106.8 kB / 369.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.1198, allocations: 0.5683 MB / 369.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1199, allocations: 33.7 kB / 369.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.1201, allocations: 359.8 kB / 370.1 MB, free: 428 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1202, allocations: 138.1 kB / 370.3 MB, free: 288 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1204, allocations: 94.16 kB / 370.4 MB, free: 188 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1422/0.2626, allocations: 362.8 kB / 370.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.2632, allocations: 218 kB / 370.9 MB, free: 25.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.2637, allocations: 356.1 kB / 371.3 MB, free: 25.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.2645, allocations: 0.5672 MB / 371.8 MB, free: 25.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2645, allocations: 4.531 kB / 371.8 MB, free: 25.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001409/0.2659, allocations: 0.7513 MB / 372.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.266, allocations: 11.92 kB / 372.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.266, allocations: 3.781 kB / 372.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.2665, allocations: 211.7 kB / 372.8 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.2669, allocations: 72.25 kB / 372.9 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.27, allocations: 3.033 MB / 375.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.2704, allocations: 53.03 kB / 376 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.2704, allocations: 20.44 kB / 376 MB, free: 22.84 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.0004375/0.2708, allocations: 330.9 kB / 376.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.2709, allocations: 61.53 kB / 376.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.271, allocations: 69.78 kB / 376.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.271, allocations: 4.125 kB / 376.5 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2711, allocations: 2.125 kB / 376.5 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2711, allocations: 3.344 kB / 376.5 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.2734, allocations: 1.748 MB / 378.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2734, allocations: 0.7969 kB / 378.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.2737, allocations: 44.28 kB / 378.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.2741, allocations: 194.8 kB / 378.4 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2741, allocations: 13.3 kB / 378.5 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.2768, allocations: 2.918 MB / 381.4 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2768, allocations: 1.062 kB / 381.4 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.2784, allocations: 1.14 MB / 382.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.2787, allocations: 196.5 kB / 382.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.2787, allocations: 13.38 kB / 382.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.279, allocations: 26.84 kB / 382.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.2792, allocations: 44.83 kB / 382.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.2792, allocations: 10.08 kB / 382.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004902/0.2797, allocations: 418.8 kB / 383.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2797, allocations: 0 / 383.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.2804, allocations: 207.1 kB / 383.4 MB, free: 18.61 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.0001394/0.2806, allocations: 123.4 kB / 383.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.2819, allocations: 0.779 MB / 384.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2819, allocations: 0.6094 kB / 384.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.2826, allocations: 477.5 kB / 384.8 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.2833, allocations: 153.3 kB / 384.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.2859, allocations: 1.867 MB / 386.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.2865, allocations: 1.061 MB / 387.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2866, allocations: 43.62 kB / 387.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2866, allocations: 3.938 kB / 387.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of Templates: time 0.0128/0.2994, allocations: 12.81 MB / 400.7 MB, free: 7.359 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