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.001048/0.001048, allocations: 95.38 kB / 17.3 MB, free: 6.391 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.001029/0.001029, allocations: 173.7 kB / 18.2 MB, free: 5.551 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.55/1.55, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004825/0.0004826, allocations: 12 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1003, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005399/0.1058, allocations: 4.109 MB / 333.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1091, allocations: 1.236 MB / 334.3 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.1098, allocations: 19.88 kB / 334.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.1104, allocations: 135.1 kB / 334.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1118, allocations: 330.4 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.1125, allocations: 171.8 kB / 335 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.1149, allocations: 1.814 MB / 336.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1162, allocations: 0.7673 MB / 337.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.1171, allocations: 0.5056 MB / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.1187, allocations: 0.7196 MB / 338.8 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.119, allocations: 76 kB / 338.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.1193, allocations: 72 kB / 338.9 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.1198, allocations: 370.6 kB / 339.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.1213, allocations: 0.6817 MB / 340 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1235, allocations: 2.067 MB / 342 MB, free: 6.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1235, allocations: 0 / 342 MB, free: 6.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1235, allocations: 0 / 342 MB, free: 6.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.796e-05/0.1236, allocations: 0 / 342 MB, free: 6.617 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.00367/0.1272, allocations: 1.522 MB / 343.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1273, allocations: 8.031 kB / 343.6 MB, free: 5.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.1278, allocations: 155.1 kB / 343.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.13, allocations: 0.9189 MB / 344.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1301, allocations: 78.41 kB / 344.7 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.1304, allocations: 104.1 kB / 344.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.1339, allocations: 1.561 MB / 346.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.134, allocations: 7.938 kB / 346.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.1341, allocations: 43.98 kB / 346.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.1342, allocations: 42.03 kB / 346.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.137, allocations: 1.444 MB / 347.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008427/0.1455, allocations: 4.976 MB / 352.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.1474, allocations: 1.48 MB / 354.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.149, allocations: 0.7351 MB / 355.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.149, allocations: 8.562 kB / 355.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.1501, allocations: 0.6201 MB / 355.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.1502, allocations: 7.938 kB / 355.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006282/0.1565, allocations: 2.462 MB / 358.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.1566, allocations: 89.7 kB / 358.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.1579, allocations: 0.9384 MB / 359.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.158, allocations: 37.7 kB / 359.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.1586, allocations: 0.5269 MB / 359.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.1588, allocations: 232.7 kB / 360 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1589, allocations: 65.69 kB / 360.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.159, allocations: 334 kB / 360.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.1597, allocations: 425.7 kB / 360.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.1606, allocations: 0.5641 MB / 361.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.1624, allocations: 0.9738 MB / 362.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1624, allocations: 0 / 362.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002838/0.1653, allocations: 1.315 MB / 363.7 MB, free: 276 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.1653, allocations: 8 kB / 363.7 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1653, allocations: 4 kB / 363.7 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.1664, allocations: 406.5 kB / 364.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.1669, allocations: 123.8 kB / 364.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.173, allocations: 4.119 MB / 368.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/0.1738, allocations: 87.48 kB / 368.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.1738, allocations: 31.98 kB / 368.4 MB, free: 11.36 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.0009391/0.1748, allocations: 491.2 kB / 368.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.175, allocations: 102.8 kB / 369 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.1753, allocations: 112.5 kB / 369.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1753, allocations: 8 kB / 369.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1753, allocations: 0 / 369.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1754, allocations: 7.922 kB / 369.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.1798, allocations: 2.636 MB / 371.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1798, allocations: 0 / 371.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.1803, allocations: 95.86 kB / 371.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/0.1811, allocations: 389.4 kB / 372.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.1812, allocations: 15.98 kB / 372.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/0.1871, allocations: 4.084 MB / 376.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1872, allocations: 0 / 376.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.1908, allocations: 1.997 MB / 378.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.1915, allocations: 291.8 kB / 378.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.1916, allocations: 16 kB / 378.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.1921, allocations: 51.94 kB / 378.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.1923, allocations: 76.53 kB / 378.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.1924, allocations: 23.98 kB / 378.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.1934, allocations: 0.6707 MB / 379.5 MB, free: 84 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1935, allocations: 4 kB / 379.5 MB, free: 80 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1847/0.3782, allocations: 342 kB / 379.8 MB, free: 52.61 MB / 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.000222/0.3785, allocations: 118.5 kB / 379.9 MB, free: 52.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.381, allocations: 1.304 MB / 381.2 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.381, allocations: 0.6562 kB / 381.2 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.3826, allocations: 0.8149 MB / 382 MB, free: 52.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.384, allocations: 232.8 kB / 382.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.3889, allocations: 3.127 MB / 385.4 MB, free: 51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.39, allocations: 1.382 MB / 386.8 MB, free: 50.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006304/0.3906, allocations: 181 kB / 386.9 MB, free: 50.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3908, allocations: 59.28 kB / 387 MB, free: 50.26 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3908, allocations: 0 / 387 MB, free: 50.26 MB / 318.1 MB Notification: Performance of Templates: time 0.02666/0.4175, allocations: 16.9 MB / 403.9 MB, free: 40.15 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