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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 84.66 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 149.1 kB / 24.25 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.756e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006487/0.006515, allocations: 4.162 MB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.009001, allocations: 1.188 MB / 272.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.009285, allocations: 39.75 kB / 272.7 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.009685, allocations: 170.6 kB / 272.9 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009817/0.01067, allocations: 373.5 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.01107, allocations: 207.6 kB / 273.5 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.01317, allocations: 1.653 MB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.01408, allocations: 0.5676 MB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.01538, allocations: 1.006 MB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.01659, allocations: 0.7793 MB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.01685, allocations: 180 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.01713, allocations: 176 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.01764, allocations: 0.4907 MB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.01833, allocations: 0.5417 MB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.02115, allocations: 2.291 MB / 281.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.02116, allocations: 0 / 281.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02116, allocations: 0 / 281.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.02118, allocations: 0 / 281.1 MB, free: 8.801 MB / 266.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.004057/0.02524, allocations: 2.033 MB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.02528, allocations: 8.922 kB / 283.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.02571, allocations: 240 kB / 283.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.02741, allocations: 0.9664 MB / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.02749, allocations: 82.42 kB / 284.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.02769, allocations: 108.4 kB / 284.6 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.03056, allocations: 1.575 MB / 286.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.03059, allocations: 7.922 kB / 286.2 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.03071, allocations: 47.98 kB / 286.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.03078, allocations: 46.05 kB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.03345, allocations: 1.433 MB / 287.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/0.166, allocations: 4.356 MB / 292 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1674, allocations: 0.9386 MB / 293 MB, free: 29.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.1686, allocations: 0.6834 MB / 293.7 MB, free: 29.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.1686, allocations: 12.66 kB / 293.7 MB, free: 29.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009669/0.1696, allocations: 0.646 MB / 294.3 MB, free: 29.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/0.1696, allocations: 0.9375 kB / 294.3 MB, free: 29.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.007934/0.1775, allocations: 2.363 MB / 296.7 MB, free: 28.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1776, allocations: 94.88 kB / 296.8 MB, free: 28.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.1793, allocations: 0.8983 MB / 297.7 MB, free: 28.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.1794, allocations: 43.02 kB / 297.7 MB, free: 27.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.18, allocations: 0.536 MB / 298.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.1802, allocations: 244.5 kB / 298.5 MB, free: 27.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.1805, allocations: 130.2 kB / 298.6 MB, free: 27.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.1806, allocations: 333.8 kB / 298.9 MB, free: 27.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.1816, allocations: 413.2 kB / 299.3 MB, free: 26.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.1827, allocations: 0.5788 MB / 299.9 MB, free: 26.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.1846, allocations: 0.9467 MB / 300.9 MB, free: 26.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1846, allocations: 1.062 kB / 300.9 MB, free: 26.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00302/0.1876, allocations: 1.315 MB / 302.2 MB, free: 25.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1876, allocations: 10.88 kB / 302.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1876, allocations: 3.75 kB / 302.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.1889, allocations: 401 kB / 302.6 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.1898, allocations: 115.1 kB / 302.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.1963, allocations: 4.335 MB / 307 MB, free: 22.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/0.1972, allocations: 90.28 kB / 307.1 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.1973, allocations: 22.72 kB / 307.2 MB, free: 22.18 MB / 266.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_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) * 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.0008561/0.1981, allocations: 496.2 kB / 307.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.1984, allocations: 114.1 kB / 307.7 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.1987, allocations: 121.1 kB / 307.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1987, allocations: 7.281 kB / 307.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1987, allocations: 4.703 kB / 307.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1987, allocations: 7.984 kB / 307.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.2036, allocations: 2.27 MB / 310.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2036, allocations: 4 kB / 310.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.2043, allocations: 79.88 kB / 310.2 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.2054, allocations: 386.8 kB / 310.6 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.2055, allocations: 27.92 kB / 310.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006447/0.2119, allocations: 4.305 MB / 314.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2119, allocations: 0 / 314.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.2151, allocations: 1.971 MB / 316.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.2156, allocations: 219.4 kB / 317.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.2158, allocations: 15.98 kB / 317.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.2163, allocations: 47.95 kB / 317.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.2165, allocations: 80.5 kB / 317.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.2165, allocations: 19.98 kB / 317.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007535/0.2173, allocations: 0.6473 MB / 317.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2173, allocations: 0 / 317.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001219/0.2185, allocations: 347.3 kB / 318.3 MB, free: 11.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0002086/0.2187, allocations: 130.7 kB / 318.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.2215, allocations: 1.259 MB / 319.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2215, allocations: 0.9844 kB / 319.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.2226, allocations: 0.7822 MB / 320.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2237, allocations: 245.9 kB / 320.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.2277, allocations: 2.654 MB / 323.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.2283, allocations: 0.794 MB / 324.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.2287, allocations: 167.7 kB / 324.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2289, allocations: 60.5 kB / 324.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2289, allocations: 0 / 324.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of Templates: time 0.02956/0.2584, allocations: 17.29 MB / 341.7 MB, free: 4.191 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920125531964004]