Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001139/0.001139, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.007301/0.007301, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.475e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005367/0.005391, allocations: 3.711 MB / 276.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.007805, allocations: 1.063 MB / 277.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.00818, allocations: 19.88 kB / 277.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.008487, allocations: 111.1 kB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008664/0.009353, allocations: 250.3 kB / 278.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.009774, allocations: 167.5 kB / 278.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.01084, allocations: 0.9881 MB / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005389/0.01137, allocations: 347.4 kB / 279.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.01215, allocations: 0.6081 MB / 280.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.01289, allocations: 478.8 kB / 280.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.01304, allocations: 103.9 kB / 280.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.01322, allocations: 104 kB / 281 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.01347, allocations: 299.1 kB / 281.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.01386, allocations: 331.2 kB / 281.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.01484, allocations: 0.7789 MB / 282.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01485, allocations: 0 / 282.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01485, allocations: 0 / 282.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.01486, allocations: 4 kB / 282.4 MB, free: 8.445 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00227/0.01714, allocations: 1.532 MB / 283.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.01718, allocations: 8.031 kB / 283.9 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.01762, allocations: 168.3 kB / 284.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.01847, allocations: 0.5522 MB / 284.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.01851, allocations: 45.69 kB / 284.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.01862, allocations: 80.31 kB / 284.8 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.01968, allocations: 0.5797 MB / 285.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.0197, allocations: 7.938 kB / 285.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.01977, allocations: 27.98 kB / 285.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/0.01983, allocations: 29.31 kB / 285.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.0205, allocations: 247.6 kB / 285.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.0236, allocations: 2.405 MB / 288.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.02413, allocations: 291.1 kB / 288.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.02446, allocations: 149 kB / 288.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.02449, allocations: 4.328 kB / 288.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.0249, allocations: 269.9 kB / 288.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.0249, allocations: 0 / 288.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001788/0.02669, allocations: 0.6494 MB / 289.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.02676, allocations: 110.8 kB / 289.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.02735, allocations: 0.5299 MB / 290.1 MB, free: 496 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.02739, allocations: 37.7 kB / 290.1 MB, free: 452 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.02768, allocations: 427.3 kB / 290.5 MB, free: 20 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1134/0.141, allocations: 143.8 kB / 290.6 MB, free: 28.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1412, allocations: 94.98 kB / 290.7 MB, free: 28.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1413, allocations: 0.5516 MB / 291.3 MB, free: 27.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1415, allocations: 60.5 kB / 291.3 MB, free: 27.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1417, allocations: 286.4 kB / 291.6 MB, free: 27.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.1421, allocations: 344 kB / 292 MB, free: 27.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1421, allocations: 6.375 kB / 292 MB, free: 27.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007619/0.1429, allocations: 432.5 kB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1429, allocations: 7.656 kB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1429, allocations: 8.891 kB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.1432, allocations: 101 kB / 292.5 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1434, allocations: 76.88 kB / 292.6 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.1451, allocations: 2.542 MB / 295.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.1454, allocations: 55.91 kB / 295.2 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1454, allocations: 19.06 kB / 295.2 MB, free: 25.08 MB / 266.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 (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.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 (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.1456, allocations: 193.3 kB / 295.4 MB, free: 24.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.1457, allocations: 72.09 kB / 295.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.1458, allocations: 69.62 kB / 295.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1458, allocations: 4.469 kB / 295.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1458, allocations: 4.875 kB / 295.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.1458, allocations: 8.172 kB / 295.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.147, allocations: 1.174 MB / 296.7 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.147, allocations: 0.7031 kB / 296.7 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1472, allocations: 40.41 kB / 296.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.1474, allocations: 104.6 kB / 296.9 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1475, allocations: 15.89 kB / 296.9 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.1489, allocations: 2.525 MB / 299.4 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1489, allocations: 0.8594 kB / 299.4 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.1496, allocations: 0.5724 MB / 300 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.1497, allocations: 113.3 kB / 300.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.1498, allocations: 7.891 kB / 300.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1499, allocations: 29.14 kB / 300.1 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.15, allocations: 54.41 kB / 300.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1501, allocations: 11 kB / 300.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.1503, allocations: 345.7 kB / 300.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1503, allocations: 0 / 300.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005839/0.1509, allocations: 209.5 kB / 300.7 MB, free: 21.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.1511, allocations: 122.9 kB / 300.8 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.1517, allocations: 496 kB / 301.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1517, allocations: 0 / 301.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.1521, allocations: 388.5 kB / 301.7 MB, free: 20.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.1525, allocations: 147.6 kB / 301.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1544, allocations: 1.275 MB / 303.1 MB, free: 20 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1546, allocations: 240.5 kB / 303.4 MB, free: 19.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.1548, allocations: 75.7 kB / 303.4 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.1549, allocations: 42.64 kB / 303.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1549, allocations: 1.094 kB / 303.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01146/0.1663, allocations: 9.737 MB / 313.2 MB, free: 14.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.932550121098757]