Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009605/0.0009604, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.6 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.0007694, allocations: 92.66 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002022, allocations: 4 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1881, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.002674/0.1908, allocations: 3.181 MB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1921, allocations: 1.008 MB / 412.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1923, allocations: 11.94 kB / 412.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.1925, allocations: 75.41 kB / 412.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.193, allocations: 208.1 kB / 412.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1932, allocations: 95.84 kB / 412.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.1938, allocations: 0.9729 MB / 413.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.1943, allocations: 0.5238 MB / 414.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.1946, allocations: 310.7 kB / 414.4 MB, free: 21.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.195, allocations: 406.3 kB / 414.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.1951, allocations: 40 kB / 414.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1952, allocations: 44 kB / 414.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1953, allocations: 211.2 kB / 415.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.1956, allocations: 415.8 kB / 415.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1961, allocations: 1.014 MB / 416.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1961, allocations: 0 / 416.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1962, allocations: 0 / 416.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1962, allocations: 0 / 416.5 MB, free: 19.19 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001389/0.1976, allocations: 1.029 MB / 417.6 MB, free: 18.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1976, allocations: 12.03 kB / 417.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.198, allocations: 123.9 kB / 417.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.1987, allocations: 0.6235 MB / 418.3 MB, free: 17.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1987, allocations: 53.25 kB / 418.4 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.1988, allocations: 67.98 kB / 418.4 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2, allocations: 0.9189 MB / 419.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2, allocations: 4 kB / 419.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.2001, allocations: 31.98 kB / 419.4 MB, free: 16.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.2001, allocations: 25.31 kB / 419.4 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2012, allocations: 0.8014 MB / 420.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.2044, allocations: 2.834 MB / 423.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.2051, allocations: 0.7488 MB / 423.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.2056, allocations: 350.7 kB / 424.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2056, allocations: 8.312 kB / 424.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.2061, allocations: 389.9 kB / 424.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.2061, allocations: 3.938 kB / 424.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002475/0.2086, allocations: 1.248 MB / 425.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2087, allocations: 118.8 kB / 425.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.2092, allocations: 0.5683 MB / 426.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2093, allocations: 37.7 kB / 426.5 MB, free: 8.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.2095, allocations: 359.9 kB / 426.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.2096, allocations: 138 kB / 427 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.2096, allocations: 8 kB / 427 MB, free: 8.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.2097, allocations: 366.8 kB / 427.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.21, allocations: 225 kB / 427.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.2104, allocations: 360.2 kB / 427.9 MB, free: 7.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.2111, allocations: 0.5779 MB / 428.5 MB, free: 6.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2111, allocations: 4 kB / 428.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001045/0.2122, allocations: 0.7663 MB / 429.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2122, allocations: 4 kB / 429.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2122, allocations: 11.94 kB / 429.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.2127, allocations: 205.1 kB / 429.5 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.213, allocations: 75.84 kB / 429.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.2154, allocations: 2.774 MB / 432.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2158, allocations: 59.61 kB / 432.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.2158, allocations: 20 kB / 432.4 MB, free: 2.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.2163, allocations: 325.8 kB / 432.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.2163, allocations: 59.28 kB / 432.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2164, allocations: 73.39 kB / 432.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2165, allocations: 8 kB / 432.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2165, allocations: 0 / 432.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2165, allocations: 3.984 kB / 432.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.2185, allocations: 1.756 MB / 434.6 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2185, allocations: 3.938 kB / 434.6 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.2188, allocations: 51.94 kB / 434.7 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.2191, allocations: 196.7 kB / 434.9 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.2192, allocations: 15.98 kB / 434.9 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.2219, allocations: 2.651 MB / 437.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2219, allocations: 0 / 437.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.2237, allocations: 1.153 MB / 438.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.224, allocations: 188.4 kB / 438.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.224, allocations: 15.98 kB / 438.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.2243, allocations: 27.98 kB / 438.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2244, allocations: 51.86 kB / 439 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.2245, allocations: 15.88 kB / 439 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004953/0.225, allocations: 422.8 kB / 439.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.225, allocations: 0 / 439.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.2257, allocations: 211.2 kB / 439.6 MB, free: 11.2 MB / 314.7 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.2258, allocations: 119.2 kB / 439.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.2271, allocations: 0.7325 MB / 440.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2271, allocations: 0 / 440.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.2277, allocations: 487.2 kB / 440.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.2285, allocations: 135.8 kB / 441.1 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.2312, allocations: 1.834 MB / 442.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.2318, allocations: 1.066 MB / 444 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2319, allocations: 39.42 kB / 444 MB, free: 6.711 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2319, allocations: 0 / 444 MB, free: 6.711 MB / 314.7 MB Notification: Performance of Templates: time 0.01569/0.2476, allocations: 12.82 MB / 456.8 MB, free: 9.934 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches