Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001045, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001086/0.001086, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009805, allocations: 43.94 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3172, allocations: 49.44 MB / 400.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004438/0.3217, allocations: 3.451 MB / 404.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.323, allocations: 0.8257 MB / 405 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.3231, allocations: 11.94 kB / 405 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3234, allocations: 63.36 kB / 405.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.3237, allocations: 138.8 kB / 405.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.324, allocations: 131.8 kB / 405.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.3245, allocations: 0.5174 MB / 405.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.3248, allocations: 169.8 kB / 406 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.325, allocations: 191.3 kB / 406.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.3253, allocations: 218.9 kB / 406.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.3254, allocations: 48 kB / 406.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.3255, allocations: 48 kB / 406.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3256, allocations: 103.6 kB / 406.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.3258, allocations: 230.8 kB / 406.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.3264, allocations: 0.519 MB / 407.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.3264, allocations: 7.938 kB / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3264, allocations: 0 / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3264, allocations: 0 / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001185/0.3276, allocations: 0.7223 MB / 408.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3277, allocations: 12.03 kB / 408.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.3278, allocations: 48.38 kB / 408.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.3282, allocations: 344.2 kB / 408.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3283, allocations: 29.38 kB / 408.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.3283, allocations: 40.38 kB / 408.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.329, allocations: 396 kB / 409 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.3291, allocations: 7.844 kB / 409 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.3291, allocations: 19.94 kB / 409 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3291, allocations: 12 kB / 409 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.3296, allocations: 259.9 kB / 409.3 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.3317, allocations: 1.484 MB / 410.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3321, allocations: 242.7 kB / 411 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.3325, allocations: 173.2 kB / 411.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.3326, allocations: 8.172 kB / 411.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.333, allocations: 226.6 kB / 411.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.333, allocations: 0 / 411.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001561/0.3345, allocations: 0.5888 MB / 412 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3346, allocations: 110.8 kB / 412.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.3349, allocations: 296.5 kB / 412.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.335, allocations: 33.7 kB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3351, allocations: 216.3 kB / 412.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.3352, allocations: 98.64 kB / 412.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3353, allocations: 70.06 kB / 412.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3355, allocations: 346.8 kB / 413.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3357, allocations: 84.72 kB / 413.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.3359, allocations: 225.4 kB / 413.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.3364, allocations: 327.1 kB / 413.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3365, allocations: 4 kB / 413.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006798/0.3371, allocations: 411.6 kB / 414.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3372, allocations: 8 kB / 414.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3372, allocations: 4 kB / 414.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.3375, allocations: 80.75 kB / 414.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3378, allocations: 63.84 kB / 414.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.3397, allocations: 2.006 MB / 416.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.34, allocations: 39.75 kB / 416.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.34, allocations: 19.98 kB / 416.4 MB, free: 8.797 MB / 334.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: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.3402, allocations: 163.4 kB / 416.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3403, allocations: 35.62 kB / 416.5 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.3404, allocations: 39.03 kB / 416.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3404, allocations: 4 kB / 416.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3404, allocations: 4 kB / 416.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3404, allocations: 7.984 kB / 416.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.3411, allocations: 0.5653 MB / 417.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3411, allocations: 0 / 417.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3413, allocations: 31.97 kB / 417.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.3415, allocations: 80.75 kB / 417.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.3416, allocations: 8.031 kB / 417.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.3434, allocations: 2.002 MB / 419.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3434, allocations: 0 / 419.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.3443, allocations: 498.8 kB / 419.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3445, allocations: 132.6 kB / 419.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.3446, allocations: 19.98 kB / 419.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.3447, allocations: 8 kB / 419.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3448, allocations: 27.95 kB / 420 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3449, allocations: 11.94 kB / 420 MB, free: 4.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.3451, allocations: 215.1 kB / 420.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3451, allocations: 0 / 420.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.3456, allocations: 111.7 kB / 420.3 MB, free: 4.598 MB / 334.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.3457, allocations: 115.2 kB / 420.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.3466, allocations: 426.5 kB / 420.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3466, allocations: 3.938 kB / 420.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.3471, allocations: 282.5 kB / 421.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3475, allocations: 69.53 kB / 421.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3489, allocations: 0.6928 MB / 421.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3493, allocations: 0.8184 MB / 422.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3494, allocations: 39.14 kB / 422.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.3495, allocations: 23.44 kB / 422.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3495, allocations: 0 / 422.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Templates: time 0.009119/0.3586, allocations: 4.822 MB / 427.6 MB, free: 13.33 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches