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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008563/0.0008563, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009094/0.0009094, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9632/0.9632, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.062e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006828/0.006858, allocations: 4.592 MB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.01002, allocations: 1.304 MB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.01032, allocations: 31.81 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.01066, allocations: 170.6 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.01143, allocations: 381.5 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.01176, allocations: 223.5 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.01296, allocations: 1.684 MB / 281.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.01353, allocations: 0.5793 MB / 281.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.01453, allocations: 1.037 MB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008492/0.01538, allocations: 0.8457 MB / 283.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.01557, allocations: 176 kB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.01578, allocations: 180 kB / 284.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.01606, allocations: 0.4986 MB / 284.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.01649, allocations: 0.5495 MB / 285.2 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.01744, allocations: 1.336 MB / 286.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01745, allocations: 4 kB / 286.5 MB, free: 3.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01745, allocations: 4 kB / 286.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.01748, allocations: 4 kB / 286.5 MB, free: 3.785 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.002364/0.01984, allocations: 2.329 MB / 288.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01987, allocations: 11.98 kB / 288.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004547/0.02033, allocations: 291.9 kB / 289.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.02122, allocations: 0.8811 MB / 290 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.02126, allocations: 78.44 kB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.02136, allocations: 104.4 kB / 290.2 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1068/0.1281, allocations: 0.9063 MB / 291.1 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.1281, allocations: 2.656 kB / 291.1 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.1282, allocations: 47.42 kB / 291.1 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.1283, allocations: 41.52 kB / 291.2 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.1292, allocations: 405.3 kB / 291.6 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.1333, allocations: 4.157 MB / 295.7 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.134, allocations: 0.5159 MB / 296.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.1346, allocations: 362.4 kB / 296.6 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.1347, allocations: 13.39 kB / 296.6 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.1351, allocations: 371.7 kB / 297 MB, free: 22.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.366e-06/0.1352, allocations: 0.625 kB / 297 MB, free: 22.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.003027/0.1382, allocations: 1.418 MB / 298.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1382, allocations: 87.14 kB / 298.5 MB, free: 22.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.1389, allocations: 0.7995 MB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.139, allocations: 40.83 kB / 299.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.1392, allocations: 0.6071 MB / 299.9 MB, free: 21.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1394, allocations: 249 kB / 300.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1395, allocations: 140.6 kB / 300.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.1396, allocations: 0.509 MB / 300.8 MB, free: 20.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1398, allocations: 105.4 kB / 300.9 MB, free: 20.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.1401, allocations: 340.5 kB / 301.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.1405, allocations: 451.9 kB / 301.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1405, allocations: 0.875 kB / 301.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008687/0.1414, allocations: 0.6278 MB / 302.3 MB, free: 20.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1414, allocations: 7.719 kB / 302.3 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1414, allocations: 10.81 kB / 302.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.1419, allocations: 195 kB / 302.5 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.1422, allocations: 114.7 kB / 302.7 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.1447, allocations: 3.227 MB / 305.9 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.145, allocations: 79 kB / 306 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.145, allocations: 24.8 kB / 306 MB, free: 17.53 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.0001945/0.1452, allocations: 206.3 kB / 306.2 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1453, allocations: 122.9 kB / 306.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.1454, allocations: 109.7 kB / 306.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1454, allocations: 6.438 kB / 306.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1454, allocations: 0.9688 kB / 306.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1454, allocations: 7.516 kB / 306.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.1472, allocations: 1.611 MB / 308 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1472, allocations: 0 / 308 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1474, allocations: 81.75 kB / 308.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.1477, allocations: 191.6 kB / 308.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.1478, allocations: 15.58 kB / 308.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.1497, allocations: 3.195 MB / 311.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1497, allocations: 4 kB / 311.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.1506, allocations: 0.8488 MB / 312.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.1508, allocations: 196.9 kB / 312.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.1509, allocations: 16 kB / 312.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1511, allocations: 39.95 kB / 312.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.1512, allocations: 92.48 kB / 312.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1512, allocations: 16 kB / 312.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.1516, allocations: 0.4989 MB / 313.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1516, allocations: 0 / 313.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005947/0.1522, allocations: 354 kB / 313.6 MB, free: 11.36 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.0001331/0.1523, allocations: 132.4 kB / 313.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008233/0.1531, allocations: 0.7404 MB / 314.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1531, allocations: 4.875 kB / 314.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.1536, allocations: 0.5895 MB / 315 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.1542, allocations: 263 kB / 315.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1569, allocations: 2.289 MB / 317.6 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1571, allocations: 391.8 kB / 318 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.1574, allocations: 131.2 kB / 318.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1575, allocations: 60.5 kB / 318.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.1575, allocations: 0 / 318.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of Templates: time 0.02114/0.1787, allocations: 18.24 MB / 336.4 MB, free: 4.766 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0919431000947952]