Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 109 kB / 17.15 MB, free: 6.328 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.001123/0.001123, allocations: 198 kB / 18.07 MB, free: 5.434 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.569/1.569, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001262/0.001262, allocations: 51.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1123, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006699/0.119, allocations: 4.514 MB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1224, allocations: 1.263 MB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.1229, allocations: 19.88 kB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1234, allocations: 135.1 kB / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009478/0.1243, allocations: 318.4 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1248, allocations: 175.8 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.1266, allocations: 1.818 MB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1277, allocations: 0.7712 MB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.1286, allocations: 0.5602 MB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1298, allocations: 0.7937 MB / 337 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.1299, allocations: 96 kB / 337.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.1302, allocations: 100 kB / 337.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.1305, allocations: 394.7 kB / 337.5 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007918/0.1314, allocations: 0.7112 MB / 338.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.1333, allocations: 2.134 MB / 340.4 MB, free: 7.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1334, allocations: 0 / 340.4 MB, free: 7.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.009e-06/0.1334, allocations: 3.984 kB / 340.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.706e-05/0.1334, allocations: 0 / 340.4 MB, free: 7.023 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003886/0.1373, allocations: 1.748 MB / 342.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1374, allocations: 8.031 kB / 342.2 MB, free: 5.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.1377, allocations: 151.2 kB / 342.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.1391, allocations: 0.9189 MB / 343.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.1392, allocations: 82.41 kB / 343.3 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1394, allocations: 104.1 kB / 343.4 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.142, allocations: 1.537 MB / 344.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.142, allocations: 7.906 kB / 344.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1422, allocations: 47.92 kB / 345 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.1422, allocations: 50.02 kB / 345 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.1448, allocations: 1.417 MB / 346.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007593/0.1524, allocations: 4.929 MB / 351.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.1542, allocations: 1.457 MB / 352.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.1555, allocations: 0.7273 MB / 353.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.1556, allocations: 8.562 kB / 353.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.1567, allocations: 0.6084 MB / 354.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.868e-06/0.1568, allocations: 0 / 354.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005841/0.1626, allocations: 2.419 MB / 356.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.1627, allocations: 89.7 kB / 356.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.164, allocations: 0.9422 MB / 357.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.1641, allocations: 37.7 kB / 357.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.1645, allocations: 0.5191 MB / 358.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.1648, allocations: 240.6 kB / 358.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.165, allocations: 126.7 kB / 358.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1651, allocations: 334 kB / 358.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.1658, allocations: 413.7 kB / 359.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.1665, allocations: 0.5524 MB / 359.8 MB, free: 2.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.168, allocations: 0.9503 MB / 360.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.168, allocations: 0 / 360.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002224/0.1702, allocations: 1.288 MB / 362.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1703, allocations: 4 kB / 362.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1703, allocations: 4.469 kB / 362.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009829/0.1713, allocations: 402.4 kB / 362.5 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.1718, allocations: 123.8 kB / 362.6 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/0.1772, allocations: 4.115 MB / 366.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.1778, allocations: 83.48 kB / 366.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.1779, allocations: 27.94 kB / 366.8 MB, free: 11.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008128/0.1787, allocations: 495.1 kB / 367.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.179, allocations: 94.88 kB / 367.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1792, allocations: 116.5 kB / 367.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1792, allocations: 4 kB / 367.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1792, allocations: 0 / 367.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1792, allocations: 15.92 kB / 367.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.183, allocations: 2.589 MB / 370.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.183, allocations: 0 / 370.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1834, allocations: 91.86 kB / 370.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000812/0.1842, allocations: 393.3 kB / 370.6 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.1843, allocations: 19.98 kB / 370.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/0.1892, allocations: 4.072 MB / 374.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1893, allocations: 0 / 374.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.1924, allocations: 1.954 MB / 376.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/0.1931, allocations: 287.8 kB / 376.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.1934, allocations: 16 kB / 376.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.1939, allocations: 43.94 kB / 377 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.1942, allocations: 80.53 kB / 377.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.1943, allocations: 20 kB / 377.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.1957, allocations: 0.6785 MB / 377.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1957, allocations: 0 / 377.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001342/0.1971, allocations: 342.9 kB / 378.1 MB, free: 240 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/0.1973, allocations: 131.2 kB / 378.2 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1788/0.3761, allocations: 1.269 MB / 379.5 MB, free: 54.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3762, allocations: 4.328 kB / 379.5 MB, free: 54.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.3777, allocations: 0.79 MB / 380.3 MB, free: 53.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.3792, allocations: 231.2 kB / 380.5 MB, free: 53.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.3852, allocations: 3.109 MB / 383.6 MB, free: 52.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.3866, allocations: 1.378 MB / 385 MB, free: 51.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008916/0.3875, allocations: 173 kB / 385.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3877, allocations: 55.48 kB / 385.2 MB, free: 51.67 MB / 318.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3877, allocations: 0 / 385.2 MB, free: 51.67 MB / 318.1 MB Notification: Performance of Templates: time 0.02919/0.4169, allocations: 17.21 MB / 402.4 MB, free: 41.38 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches