Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.422e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.008239/0.008273, allocations: 4.536 MB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.01165, allocations: 1.289 MB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.0121, allocations: 31.75 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.01255, allocations: 178.6 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.0138, allocations: 377.5 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.01438, allocations: 223.5 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.01651, allocations: 1.677 MB / 280.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.01773, allocations: 0.5677 MB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.01941, allocations: 1.029 MB / 282.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.02085, allocations: 0.8301 MB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.02116, allocations: 176 kB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.02153, allocations: 188 kB / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.02213, allocations: 0.5024 MB / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009134/0.02304, allocations: 0.5534 MB / 284.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.02596, allocations: 2.333 MB / 286.8 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02596, allocations: 0 / 286.8 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02596, allocations: 3.938 kB / 286.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.02599, allocations: 0 / 286.8 MB, free: 3.238 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.005035/0.03103, allocations: 2.645 MB / 289.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.03107, allocations: 8.031 kB / 289.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.03195, allocations: 287.9 kB / 289.7 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1088/0.1407, allocations: 0.9095 MB / 290.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.1408, allocations: 79.75 kB / 290.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.141, allocations: 109.2 kB / 290.8 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.1435, allocations: 1.568 MB / 292.4 MB, free: 27.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.1435, allocations: 1.859 kB / 292.4 MB, free: 27.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1436, allocations: 48.16 kB / 292.5 MB, free: 27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.1437, allocations: 47.91 kB / 292.5 MB, free: 27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.1459, allocations: 1.259 MB / 293.8 MB, free: 26.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/0.1529, allocations: 5.226 MB / 299 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.1542, allocations: 0.8473 MB / 299.8 MB, free: 22.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1553, allocations: 0.599 MB / 300.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.1554, allocations: 16.03 kB / 300.5 MB, free: 22.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008645/0.1563, allocations: 0.6187 MB / 301.1 MB, free: 22.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.1563, allocations: 3.828 kB / 301.1 MB, free: 22.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005242/0.1615, allocations: 2.149 MB / 303.2 MB, free: 21.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1616, allocations: 85.36 kB / 303.3 MB, free: 21.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.1628, allocations: 1.093 MB / 304.4 MB, free: 20.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.1628, allocations: 41.42 kB / 304.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.1632, allocations: 0.6471 MB / 305.1 MB, free: 20.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.1634, allocations: 261.8 kB / 305.3 MB, free: 19.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.1636, allocations: 156.3 kB / 305.5 MB, free: 19.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.1637, allocations: 0.5319 MB / 306 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1642, allocations: 332.6 kB / 306.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.1647, allocations: 0.5811 MB / 306.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1657, allocations: 0.8587 MB / 307.8 MB, free: 17.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1657, allocations: 0 / 307.8 MB, free: 17.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001567/0.1673, allocations: 1.156 MB / 308.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1673, allocations: 8 kB / 309 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1673, allocations: 4 kB / 309 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.1681, allocations: 378.5 kB / 309.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1685, allocations: 107.8 kB / 309.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.1727, allocations: 4.737 MB / 314.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.1732, allocations: 71.62 kB / 314.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.1732, allocations: 24 kB / 314.3 MB, free: 10.98 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.0005285/0.1738, allocations: 482.1 kB / 314.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1739, allocations: 119.4 kB / 314.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1741, allocations: 112.5 kB / 315 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1741, allocations: 8 kB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1742, allocations: 0 / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1742, allocations: 3.984 kB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.1774, allocations: 2.406 MB / 317.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1774, allocations: 6.875 kB / 317.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.1778, allocations: 79.89 kB / 317.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/0.1784, allocations: 359 kB / 317.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.1784, allocations: 16 kB / 317.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/0.1822, allocations: 4.509 MB / 322.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1822, allocations: 0 / 322.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.1842, allocations: 1.653 MB / 324 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.1847, allocations: 195.2 kB / 324.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1848, allocations: 20 kB / 324.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.1852, allocations: 39.95 kB / 324.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.1854, allocations: 92.48 kB / 324.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.1854, allocations: 16 kB / 324.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006562/0.1861, allocations: 0.6863 MB / 325 MB, free: 32 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1861, allocations: 0 / 325 MB, free: 32 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001027/0.1871, allocations: 367 kB / 325.4 MB, free: 15.67 MB / 282.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.0002033/0.1873, allocations: 125.3 kB / 325.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.1896, allocations: 1.198 MB / 326.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1896, allocations: 4.062 kB / 326.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1909, allocations: 0.7908 MB / 327.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.192, allocations: 246.1 kB / 327.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.1969, allocations: 2.489 MB / 330.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.1979, allocations: 0.7439 MB / 331 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.1983, allocations: 127.2 kB / 331.1 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.1985, allocations: 64.48 kB / 331.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1985, allocations: 4 kB / 331.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of Templates: time 0.03315/0.2317, allocations: 17.48 MB / 348.7 MB, free: 8.605 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.048634520033374]