Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001145, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000967/0.0009671, allocations: 101.6 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009061/0.0009061, allocations: 43.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1991, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004176/0.2033, allocations: 4.595 MB / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2048, allocations: 1.263 MB / 412.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.205, allocations: 19.94 kB / 412.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.2053, allocations: 135.1 kB / 413.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.2059, allocations: 322.4 kB / 413.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.2061, allocations: 175.8 kB / 413.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2072, allocations: 1.837 MB / 415.4 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007574/0.2079, allocations: 0.9413 MB / 416.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.2084, allocations: 0.568 MB / 416.9 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.209, allocations: 0.8054 MB / 417.7 MB, free: 17.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2091, allocations: 100 kB / 417.8 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.2093, allocations: 100 kB / 417.9 MB, free: 16.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.2096, allocations: 410.6 kB / 418.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.21, allocations: 0.7073 MB / 419 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2111, allocations: 2.161 MB / 421.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2111, allocations: 0 / 421.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2111, allocations: 0 / 421.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.2111, allocations: 0 / 421.2 MB, free: 13.62 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.0025/0.2136, allocations: 1.775 MB / 423 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.2137, allocations: 8.031 kB / 423 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.2143, allocations: 199.1 kB / 423.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2155, allocations: 0.9733 MB / 424.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.2155, allocations: 78.38 kB / 424.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2157, allocations: 108.1 kB / 424.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.2176, allocations: 1.561 MB / 425.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.2176, allocations: 11.92 kB / 425.9 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.2177, allocations: 43.98 kB / 425.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.2178, allocations: 42.05 kB / 426 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2196, allocations: 1.437 MB / 427.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.2251, allocations: 4.933 MB / 432.3 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.2264, allocations: 1.458 MB / 433.8 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.2275, allocations: 0.7249 MB / 434.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.2275, allocations: 8.562 kB / 434.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/0.2285, allocations: 0.6123 MB / 435.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.2285, allocations: 7.938 kB / 435.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005636/0.2341, allocations: 2.438 MB / 437.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2342, allocations: 85.77 kB / 437.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2353, allocations: 0.9461 MB / 438.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.2354, allocations: 41.7 kB / 438.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.2357, allocations: 0.5309 MB / 439.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.2359, allocations: 232.7 kB / 439.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.2361, allocations: 134.6 kB / 439.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2363, allocations: 337.9 kB / 439.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.2369, allocations: 409.7 kB / 440.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.2377, allocations: 0.5485 MB / 440.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.239, allocations: 0.9503 MB / 441.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.2391, allocations: 3.938 kB / 441.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002076/0.2411, allocations: 1.292 MB / 443.1 MB, free: 7.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2412, allocations: 10.81 kB / 443.1 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2412, allocations: 4 kB / 443.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/0.2421, allocations: 399.1 kB / 443.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.2425, allocations: 111.8 kB / 443.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.2474, allocations: 4.131 MB / 447.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.248, allocations: 83.45 kB / 447.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.248, allocations: 27.98 kB / 447.8 MB, free: 2.148 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.0006246/0.2487, allocations: 499.2 kB / 448.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.2488, allocations: 94.86 kB / 448.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.249, allocations: 116.6 kB / 448.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2491, allocations: 8 kB / 448.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2491, allocations: 3.938 kB / 448.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2491, allocations: 7.984 kB / 448.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.2527, allocations: 2.593 MB / 451.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.2528, allocations: 7.984 kB / 451.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.2532, allocations: 87.81 kB / 451.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/0.2539, allocations: 385 kB / 451.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.254, allocations: 12 kB / 451.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.2586, allocations: 4.088 MB / 455.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2586, allocations: 0 / 455.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.272, allocations: 10.06 MB / 465.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.2725, allocations: 291.7 kB / 466 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2727, allocations: 15.94 kB / 466.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.2731, allocations: 43.94 kB / 466.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.2733, allocations: 76.62 kB / 466.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.2734, allocations: 27.98 kB / 466.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008127/0.2742, allocations: 0.6786 MB / 466.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2742, allocations: 3.938 kB / 466.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001126/0.2753, allocations: 446.8 kB / 467.3 MB, free: 14.12 MB / 346.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.0001735/0.2755, allocations: 127.2 kB / 467.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.2776, allocations: 1.268 MB / 468.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2776, allocations: 11.97 kB / 468.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.2788, allocations: 0.7949 MB / 469.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2798, allocations: 241.2 kB / 469.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.285, allocations: 3.824 MB / 473.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.2859, allocations: 1.411 MB / 475 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.2863, allocations: 175.3 kB / 475.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.2865, allocations: 55.42 kB / 475.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2865, allocations: 0 / 475.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of Templates: time 0.0285/0.315, allocations: 19.53 MB / 494.8 MB, free: 2.762 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches