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.00107/0.00107, allocations: 116.1 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.42 kB / 306.5 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09397, allocations: 50.52 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005651/0.09966, allocations: 3.741 MB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1019, allocations: 1.068 MB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.1024, allocations: 19.88 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1028, allocations: 79.47 kB / 361.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.1037, allocations: 206.9 kB / 362.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1041, allocations: 139.8 kB / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1052, allocations: 0.9651 MB / 363.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008413/0.106, allocations: 0.6004 MB / 363.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.1067, allocations: 418.6 kB / 364.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.1074, allocations: 0.5058 MB / 364.7 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.1076, allocations: 104 kB / 364.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1078, allocations: 100 kB / 364.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1081, allocations: 283.2 kB / 365.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.1086, allocations: 489.7 kB / 365.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1096, allocations: 1.285 MB / 366.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1096, allocations: 3.938 kB / 367 MB, free: 4.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1097, allocations: 0 / 367 MB, free: 4.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.1097, allocations: 4 kB / 367 MB, free: 4.383 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.002112/0.1118, allocations: 1.177 MB / 368.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1119, allocations: 8.031 kB / 368.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.1123, allocations: 123.7 kB / 368.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.1132, allocations: 0.6412 MB / 368.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.1132, allocations: 53.25 kB / 369 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1134, allocations: 64 kB / 369 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.1148, allocations: 0.9189 MB / 369.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1148, allocations: 3.906 kB / 369.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.1149, allocations: 28 kB / 370 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.1149, allocations: 33.3 kB / 370 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1162, allocations: 0.7936 MB / 370.8 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1678/0.284, allocations: 2.798 MB / 373.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009322/0.285, allocations: 0.7571 MB / 374.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.2856, allocations: 344.5 kB / 374.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.2857, allocations: 8.406 kB / 374.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006921/0.2864, allocations: 383.3 kB / 375.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.126e-06/0.2864, allocations: 1.078 kB / 375.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002815/0.2892, allocations: 1.227 MB / 376.3 MB, free: 17.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.2893, allocations: 112.8 kB / 376.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.2899, allocations: 0.5867 MB / 377 MB, free: 17.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.29, allocations: 36.62 kB / 377 MB, free: 17.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.2902, allocations: 362.1 kB / 377.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2903, allocations: 142.1 kB / 377.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.2905, allocations: 91.36 kB / 377.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2906, allocations: 367.1 kB / 378 MB, free: 16.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.291, allocations: 218.5 kB / 378.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.2914, allocations: 354.8 kB / 378.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.2922, allocations: 0.5775 MB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2922, allocations: 4.969 kB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001181/0.2934, allocations: 0.751 MB / 379.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2935, allocations: 6.969 kB / 379.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2935, allocations: 3.75 kB / 379.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.294, allocations: 215.3 kB / 380.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2943, allocations: 76.67 kB / 380.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.2972, allocations: 3.035 MB / 383.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2975, allocations: 53.66 kB / 383.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.2976, allocations: 19.3 kB / 383.3 MB, free: 13.5 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.0003945/0.298, allocations: 333.6 kB / 383.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.2981, allocations: 59.84 kB / 383.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.2982, allocations: 68.98 kB / 383.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2982, allocations: 8.031 kB / 383.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2982, allocations: 2.234 kB / 383.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2982, allocations: 1.969 kB / 383.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3006, allocations: 1.75 MB / 385.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3007, allocations: 1.062 kB / 385.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3009, allocations: 53.83 kB / 385.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.3013, allocations: 197.7 kB / 385.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3014, allocations: 7.688 kB / 385.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.3039, allocations: 2.909 MB / 388.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.304, allocations: 9.078 kB / 388.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3057, allocations: 1.145 MB / 389.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.306, allocations: 196.8 kB / 390 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.306, allocations: 7.156 kB / 390 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.3063, allocations: 31.91 kB / 390 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3065, allocations: 43.56 kB / 390.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.3065, allocations: 20.52 kB / 390.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.307, allocations: 432.4 kB / 390.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.307, allocations: 0 / 390.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.3077, allocations: 205.9 kB / 390.7 MB, free: 9.027 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.000155/0.3079, allocations: 118.2 kB / 390.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.3093, allocations: 0.7911 MB / 391.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3093, allocations: 0 / 391.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.31, allocations: 475.7 kB / 392.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.3107, allocations: 148.2 kB / 392.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.3134, allocations: 1.867 MB / 394.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.3138, allocations: 1.078 MB / 395.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.3141, allocations: 97.22 kB / 395.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.3142, allocations: 40.17 kB / 395.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3142, allocations: 1.469 kB / 395.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Templates: time 0.01499/0.3292, allocations: 9.977 MB / 405.3 MB, free: 14.27 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 -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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches