Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001145/0.001145, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001184/0.001184, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 43.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09986, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.007297/0.1072, allocations: 3.625 MB / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.11, allocations: 1.049 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.1103, allocations: 15.94 kB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1107, allocations: 103.1 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008724/0.1116, allocations: 222.7 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.112, allocations: 151.7 kB / 333.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1133, allocations: 0.9574 MB / 334.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009397/0.1143, allocations: 0.5491 MB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005525/0.1149, allocations: 406.6 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.1157, allocations: 498.1 kB / 336.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1159, allocations: 100 kB / 336.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1161, allocations: 96 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.1164, allocations: 279.2 kB / 336.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.1171, allocations: 469.8 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.1186, allocations: 1.277 MB / 338.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1187, allocations: 0 / 338.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1187, allocations: 0 / 338.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1187, allocations: 0 / 338.5 MB, free: 9.941 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00276/0.1215, allocations: 1.154 MB / 339.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1215, allocations: 8.031 kB / 339.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.1218, allocations: 91.89 kB / 339.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.1231, allocations: 0.6041 MB / 340.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.1231, allocations: 49.25 kB / 340.4 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1233, allocations: 64 kB / 340.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1254, allocations: 0.911 MB / 341.4 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.1254, allocations: 4 kB / 341.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.1255, allocations: 28 kB / 341.4 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.1256, allocations: 29.3 kB / 341.4 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.1275, allocations: 0.7819 MB / 342.2 MB, free: 6.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.1332, allocations: 2.756 MB / 345 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1344, allocations: 0.7528 MB / 345.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008666/0.1353, allocations: 349.3 kB / 346.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.1354, allocations: 8.312 kB / 346.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009423/0.1363, allocations: 389.7 kB / 346.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 3.486e-06/0.1364, allocations: 0 / 346.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002744/0.1391, allocations: 1.181 MB / 347.6 MB, free: 472 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.1392, allocations: 110.8 kB / 347.7 MB, free: 336 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.1398, allocations: 0.5605 MB / 348.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1399, allocations: 41.72 kB / 348.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1401, allocations: 352 kB / 348.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.1402, allocations: 138 kB / 348.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.1404, allocations: 94.19 kB / 348.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1405, allocations: 362.8 kB / 349.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.1408, allocations: 221 kB / 349.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.1413, allocations: 353.8 kB / 349.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.1422, allocations: 0.5691 MB / 350.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1422, allocations: 3.938 kB / 350.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001226/0.1434, allocations: 0.7511 MB / 351.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1434, allocations: 7.984 kB / 351.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1435, allocations: 4 kB / 351.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.144, allocations: 204.6 kB / 351.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1443, allocations: 72.09 kB / 351.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.1475, allocations: 2.931 MB / 354.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.1478, allocations: 55.64 kB / 354.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.1478, allocations: 20 kB / 354.4 MB, free: 9.32 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (44): * Single equations (assignments): 43 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.1483, allocations: 321.6 kB / 354.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.1484, allocations: 55.34 kB / 354.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.1485, allocations: 73.27 kB / 354.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1486, allocations: 4 kB / 354.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1486, allocations: 3.938 kB / 354.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1486, allocations: 3.938 kB / 354.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.1511, allocations: 1.621 MB / 356.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1511, allocations: 4 kB / 356.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.1513, allocations: 47.91 kB / 356.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.1517, allocations: 205.1 kB / 356.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.1518, allocations: 11.98 kB / 356.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.1547, allocations: 2.912 MB / 359.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1547, allocations: 0 / 359.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.1563, allocations: 1.107 MB / 360.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.1566, allocations: 192.4 kB / 361 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.1567, allocations: 8 kB / 361 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.157, allocations: 31.97 kB / 361 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1571, allocations: 43.92 kB / 361.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.1571, allocations: 15.94 kB / 361.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004797/0.1576, allocations: 422.7 kB / 361.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1576, allocations: 0 / 361.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.1583, allocations: 207.3 kB / 361.7 MB, free: 1.809 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001555/0.1585, allocations: 115.2 kB / 361.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.1596, allocations: 0.7252 MB / 362.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1597, allocations: 8.062 kB / 362.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.1603, allocations: 474 kB / 363 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.161, allocations: 150.3 kB / 363.1 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1634, allocations: 1.484 MB / 364.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.1641, allocations: 1.066 MB / 365.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.1644, allocations: 96.72 kB / 365.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1645, allocations: 35.44 kB / 365.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1645, allocations: 0 / 365.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Templates: time 0.01623/0.1807, allocations: 10.02 MB / 375.8 MB, free: 3.547 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches