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.001042/0.001042, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.000979/0.000979, allocations: 191 kB / 19.29 MB, free: 3.848 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.337/1.337, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001163/0.001163, allocations: 51.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.08096, allocations: 46.63 MB / 328.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005717/0.08672, allocations: 4.496 MB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.08907, allocations: 1.263 MB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.08939, allocations: 23.88 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.08976, allocations: 166.7 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.09057, allocations: 346 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.09093, allocations: 199.7 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.09229, allocations: 1.615 MB / 336.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.09326, allocations: 0.9413 MB / 337.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.09392, allocations: 0.6658 MB / 338.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00095/0.09488, allocations: 0.8445 MB / 339.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.09509, allocations: 183.9 kB / 339.5 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.09533, allocations: 176 kB / 339.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.09571, allocations: 474.7 kB / 340.1 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.09646, allocations: 0.7894 MB / 340.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.09821, allocations: 2.228 MB / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.09822, allocations: 0 / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.09823, allocations: 0 / 343.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.09827, allocations: 0 / 343.1 MB, free: 5.277 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.003073/0.1013, allocations: 1.755 MB / 344.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1014, allocations: 8.031 kB / 344.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.1016, allocations: 151.2 kB / 345 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1032, allocations: 0.9384 MB / 346 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.1032, allocations: 74.41 kB / 346 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.1034, allocations: 104.1 kB / 346.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.1057, allocations: 1.549 MB / 347.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.1057, allocations: 3.906 kB / 347.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1058, allocations: 40 kB / 347.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.1059, allocations: 42.03 kB / 347.8 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.1081, allocations: 1.429 MB / 349.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/0.1147, allocations: 4.875 MB / 354.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.1163, allocations: 1.445 MB / 355.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.1175, allocations: 0.7273 MB / 356.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.1176, allocations: 8.562 kB / 356.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.1185, allocations: 0.6122 MB / 356.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.128e-06/0.1185, allocations: 0 / 356.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00545/0.124, allocations: 2.427 MB / 359.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.1241, allocations: 85.77 kB / 359.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1253, allocations: 0.9344 MB / 360.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.1253, allocations: 41.7 kB / 360.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.1257, allocations: 0.523 MB / 360.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1259, allocations: 236.6 kB / 361.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.1261, allocations: 126.7 kB / 361.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1262, allocations: 334 kB / 361.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.1269, allocations: 409.7 kB / 362 MB, free: 1.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.1276, allocations: 0.5563 MB / 362.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.1289, allocations: 0.9503 MB / 363.5 MB, free: 232 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1289, allocations: 0 / 363.5 MB, free: 232 kB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001926/0.1308, allocations: 1.284 MB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1309, allocations: 7.984 kB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1309, allocations: 8.406 kB / 364.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008218/0.1317, allocations: 402.4 kB / 365.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.1322, allocations: 115.9 kB / 365.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.1373, allocations: 4.493 MB / 369.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.1379, allocations: 83.45 kB / 369.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.138, allocations: 31.98 kB / 369.9 MB, free: 9.664 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.0006661/0.1386, allocations: 487.2 kB / 370.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.1388, allocations: 102.8 kB / 370.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.139, allocations: 116.5 kB / 370.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.139, allocations: 12 kB / 370.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.139, allocations: 0 / 370.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.139, allocations: 3.984 kB / 370.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.1428, allocations: 2.583 MB / 373.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1428, allocations: 0 / 373.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.1432, allocations: 87.86 kB / 373.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/0.144, allocations: 397.4 kB / 373.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.1441, allocations: 15.98 kB / 373.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005113/0.1492, allocations: 4.458 MB / 378.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1492, allocations: 4 kB / 378.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1627/0.3119, allocations: 1.954 MB / 380.1 MB, free: 52.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.3125, allocations: 282.7 kB / 380.4 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3127, allocations: 12.97 kB / 380.4 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.3131, allocations: 41.48 kB / 380.4 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.3133, allocations: 81.38 kB / 380.5 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.3134, allocations: 22.47 kB / 380.5 MB, free: 52.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009236/0.3143, allocations: 0.6751 MB / 381.2 MB, free: 52.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3143, allocations: 0 / 381.2 MB, free: 52.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3154, allocations: 346.1 kB / 381.5 MB, free: 52.79 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.00015/0.3156, allocations: 137.6 kB / 381.7 MB, free: 52.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3176, allocations: 1.268 MB / 382.9 MB, free: 52.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3177, allocations: 3.844 kB / 382.9 MB, free: 52.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.3189, allocations: 0.8063 MB / 383.7 MB, free: 52.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.3199, allocations: 259.2 kB / 384 MB, free: 52.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.3244, allocations: 2.587 MB / 386.6 MB, free: 51.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.3255, allocations: 1.385 MB / 388 MB, free: 50.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000546/0.326, allocations: 170 kB / 388.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3262, allocations: 60.62 kB / 388.2 MB, free: 50.2 MB / 318.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3262, allocations: 0 / 388.2 MB, free: 50.2 MB / 318.1 MB Notification: Performance of Templates: time 0.02368/0.3499, allocations: 18.24 MB / 406.4 MB, free: 38.04 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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