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.001387/0.001387, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001457/0.001457, 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.375/1.375, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001196/0.001197, allocations: 55.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08242/0.08363, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005539/0.0892, allocations: 4.503 MB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.09157, allocations: 1.263 MB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.09185, allocations: 31.81 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.09223, allocations: 158.7 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008314/0.09307, allocations: 354 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.09346, allocations: 199.7 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.09492, allocations: 1.615 MB / 336.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.09603, allocations: 0.9257 MB / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.09684, allocations: 0.6775 MB / 338.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.09783, allocations: 0.8484 MB / 339.3 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.09803, allocations: 176 kB / 339.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.09825, allocations: 172 kB / 339.6 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.09862, allocations: 474.7 kB / 340.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006956/0.09933, allocations: 0.7855 MB / 340.9 MB, free: 7.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.101, allocations: 2.232 MB / 343.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.101, allocations: 0 / 343.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.101, allocations: 4 kB / 343.1 MB, free: 5.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.101, allocations: 0 / 343.1 MB, free: 5.281 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.002891/0.1039, allocations: 1.751 MB / 344.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.104, allocations: 8.031 kB / 344.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.1042, allocations: 159.1 kB / 345 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.1056, allocations: 0.9228 MB / 346 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.1057, allocations: 90.33 kB / 346.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.1059, allocations: 104.1 kB / 346.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.1081, allocations: 1.537 MB / 347.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1082, allocations: 7.906 kB / 347.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1083, allocations: 40 kB / 347.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.1083, allocations: 50.02 kB / 347.8 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.1106, allocations: 1.429 MB / 349.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.1172, allocations: 4.863 MB / 354.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.1189, allocations: 1.453 MB / 355.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1201, allocations: 0.7312 MB / 356.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.1201, allocations: 4.562 kB / 356.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.121, allocations: 0.6161 MB / 356.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.939e-06/0.121, allocations: 0 / 356.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005627/0.1267, allocations: 2.415 MB / 359.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.1267, allocations: 93.77 kB / 359.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1281, allocations: 0.9344 MB / 360.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.1281, allocations: 41.69 kB / 360.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.1286, allocations: 0.5231 MB / 360.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.1288, allocations: 232.6 kB / 361.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.129, allocations: 134.6 kB / 361.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1291, allocations: 333.9 kB / 361.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.1298, allocations: 413.7 kB / 362 MB, free: 1.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.1305, allocations: 0.5562 MB / 362.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1319, allocations: 0.9503 MB / 363.5 MB, free: 228 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1319, allocations: 0 / 363.5 MB, free: 228 kB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002069/0.1339, allocations: 1.28 MB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.134, allocations: 8 kB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.134, allocations: 8.031 kB / 364.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009365/0.1349, allocations: 410.4 kB / 365.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.1354, allocations: 107.9 kB / 365.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.1409, allocations: 4.497 MB / 369.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.1416, allocations: 79.44 kB / 369.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.1417, allocations: 28 kB / 369.9 MB, free: 9.668 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.0006896/0.1424, allocations: 495.1 kB / 370.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.1425, allocations: 98.81 kB / 370.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1427, allocations: 116.5 kB / 370.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1428, allocations: 11.98 kB / 370.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1428, allocations: 0 / 370.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1428, allocations: 3.984 kB / 370.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.1467, allocations: 2.587 MB / 373.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1467, allocations: 0 / 373.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.1472, allocations: 84 kB / 373.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.148, allocations: 393.2 kB / 373.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.148, allocations: 12 kB / 373.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005383/0.1534, allocations: 4.47 MB / 378.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1534, allocations: 0 / 378.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1633/0.3167, allocations: 1.956 MB / 380.1 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.3174, allocations: 280 kB / 380.4 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.3175, allocations: 15.61 kB / 380.4 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.318, allocations: 47.41 kB / 380.4 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.3182, allocations: 77.7 kB / 380.5 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.3183, allocations: 20.06 kB / 380.5 MB, free: 52.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008744/0.3192, allocations: 0.6735 MB / 381.2 MB, free: 52.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3192, allocations: 0.7188 kB / 381.2 MB, free: 52.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001071/0.3202, allocations: 347.2 kB / 381.5 MB, free: 52.78 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.0001623/0.3204, allocations: 133.9 kB / 381.7 MB, free: 52.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.3225, allocations: 1.271 MB / 382.9 MB, free: 52.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3225, allocations: 0 / 382.9 MB, free: 52.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3237, allocations: 0.8099 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.0009666/0.3247, allocations: 253.4 kB / 384 MB, free: 52.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.3291, allocations: 2.584 MB / 386.6 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009714/0.3301, allocations: 1.387 MB / 388 MB, free: 50.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.3306, allocations: 172.5 kB / 388.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3308, allocations: 59.73 kB / 388.2 MB, free: 50.2 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3308, allocations: 1.406 kB / 388.2 MB, free: 50.2 MB / 318.1 MB Notification: Performance of Templates: time 0.02554/0.3563, allocations: 18.24 MB / 406.4 MB, free: 38.08 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 gbode -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