Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009314, allocations: 101.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009805, allocations: 39.94 kB / 350.1 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2009, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004206/0.2052, allocations: 4.56 MB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2067, allocations: 1.209 MB / 405.3 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.207, allocations: 23.88 kB / 405.3 MB, free: 27.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.2072, allocations: 135 kB / 405.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006316/0.2079, allocations: 326.4 kB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2082, allocations: 163.8 kB / 405.9 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2093, allocations: 1.826 MB / 407.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008072/0.2101, allocations: 0.9374 MB / 408.7 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.2105, allocations: 0.568 MB / 409.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.2111, allocations: 0.8015 MB / 410 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.2113, allocations: 100 kB / 410.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.2115, allocations: 96 kB / 410.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.2117, allocations: 398.7 kB / 410.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.2122, allocations: 0.7112 MB / 411.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.2132, allocations: 2.15 MB / 413.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2132, allocations: 0 / 413.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2132, allocations: 0 / 413.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2132, allocations: 0 / 413.5 MB, free: 19.3 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002461/0.2157, allocations: 1.767 MB / 415.2 MB, free: 17.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2157, allocations: 12.03 kB / 415.2 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2159, allocations: 151.2 kB / 415.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.2171, allocations: 0.954 MB / 416.4 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.2171, allocations: 78.44 kB / 416.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2173, allocations: 112 kB / 416.5 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.2192, allocations: 1.557 MB / 418.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2192, allocations: 7.938 kB / 418.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.2193, allocations: 40 kB / 418.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.2194, allocations: 49.97 kB / 418.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.2212, allocations: 1.433 MB / 419.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.2264, allocations: 4.933 MB / 424.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.2276, allocations: 1.45 MB / 426 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009731/0.2286, allocations: 0.735 MB / 426.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.2287, allocations: 12.55 kB / 426.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007943/0.2295, allocations: 0.6045 MB / 427.4 MB, free: 4.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.2295, allocations: 0 / 427.4 MB, free: 4.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004971/0.2345, allocations: 2.438 MB / 429.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2345, allocations: 85.77 kB / 429.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.2354, allocations: 0.9305 MB / 430.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.2355, allocations: 45.7 kB / 430.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.2357, allocations: 0.5269 MB / 431.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.2359, allocations: 232.6 kB / 431.6 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.2361, allocations: 126.7 kB / 431.7 MB, free: 480 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2361, allocations: 341.8 kB / 432.1 MB, free: 132 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.2368, allocations: 413.7 kB / 432.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.2375, allocations: 0.5563 MB / 433 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2388, allocations: 0.9425 MB / 434 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.2389, allocations: 7.938 kB / 434 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001999/0.2409, allocations: 1.288 MB / 435.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2409, allocations: 8.469 kB / 435.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2409, allocations: 7.938 kB / 435.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/0.2419, allocations: 400.7 kB / 435.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.2424, allocations: 111.8 kB / 435.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.2475, allocations: 4.133 MB / 439.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.2481, allocations: 83.47 kB / 440 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.2482, allocations: 24 kB / 440 MB, free: 7.918 MB / 314.7 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_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.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.0007491/0.2489, allocations: 499.2 kB / 440.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2491, allocations: 94.88 kB / 440.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.2493, allocations: 124.5 kB / 440.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2493, allocations: 4 kB / 440.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2493, allocations: 3.938 kB / 440.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2493, allocations: 7.984 kB / 440.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.2532, allocations: 2.593 MB / 443.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2532, allocations: 4 kB / 443.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.2536, allocations: 79.88 kB / 443.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007958/0.2544, allocations: 400.5 kB / 443.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.2545, allocations: 8 kB / 443.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.2593, allocations: 4.09 MB / 447.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2593, allocations: 3.984 kB / 447.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.2733, allocations: 10.05 MB / 458 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.2739, allocations: 283.8 kB / 458.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.274, allocations: 19.94 kB / 458.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.2744, allocations: 43.95 kB / 458.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.2746, allocations: 76.53 kB / 458.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.2747, allocations: 23.98 kB / 458.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008452/0.2756, allocations: 0.6669 MB / 459.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2756, allocations: 0 / 459.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001208/0.2768, allocations: 446.8 kB / 459.5 MB, free: 3.922 MB / 330.7 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001941/0.277, allocations: 135.2 kB / 459.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.2793, allocations: 1.268 MB / 460.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2793, allocations: 0 / 460.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.2805, allocations: 0.7955 MB / 461.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2816, allocations: 251.2 kB / 461.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.2873, allocations: 3.82 MB / 465.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/0.2883, allocations: 1.4 MB / 467.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.2888, allocations: 175.3 kB / 467.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.2889, allocations: 59.42 kB / 467.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2889, allocations: 0 / 467.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of Templates: time 0.02845/0.3174, allocations: 19.44 MB / 486.8 MB, free: 8.715 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches