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.001037/0.001037, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001533/0.001533, allocations: 160.5 kB / 24.56 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.9468/0.9468, allocations: 177 MB / 204.8 MB, free: 5.578 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 1.703e-06/1.703e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.879e-05, allocations: 2.312 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004347/0.004366, allocations: 4.592 MB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.006378, allocations: 1.301 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.006607, allocations: 27.81 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.006902, allocations: 174.6 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.007674, allocations: 381.5 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.008002, allocations: 219.5 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.009168, allocations: 1.688 MB / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.009721, allocations: 0.5754 MB / 281.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.01054, allocations: 1.037 MB / 282.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.01129, allocations: 0.8379 MB / 283.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.01147, allocations: 180 kB / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.01168, allocations: 180 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.01198, allocations: 0.4986 MB / 284.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.01238, allocations: 0.5495 MB / 285.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.01336, allocations: 1.344 MB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01336, allocations: 0 / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01336, allocations: 0 / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.01338, allocations: 0 / 286.5 MB, free: 3.777 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.002234/0.01561, allocations: 2.333 MB / 288.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01565, allocations: 15.98 kB / 288.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.01609, allocations: 295.8 kB / 289.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.01698, allocations: 0.8832 MB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.543e-05/0.01703, allocations: 78.42 kB / 290.1 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1221/0.1391, allocations: 107.1 kB / 290.2 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1407, allocations: 0.907 MB / 291.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1407, allocations: 2.531 kB / 291.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1408, allocations: 45.09 kB / 291.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.1409, allocations: 44.25 kB / 291.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/0.1417, allocations: 406 kB / 291.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.1456, allocations: 4.154 MB / 295.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.1463, allocations: 0.518 MB / 296.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.1468, allocations: 359.8 kB / 296.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.1469, allocations: 17.89 kB / 296.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.1474, allocations: 371.7 kB / 297 MB, free: 22.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.023e-06/0.1474, allocations: 0 / 297 MB, free: 22.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002967/0.1503, allocations: 1.411 MB / 298.4 MB, free: 22.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1504, allocations: 91.11 kB / 298.5 MB, free: 22.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.1511, allocations: 0.8001 MB / 299.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1511, allocations: 40.58 kB / 299.3 MB, free: 22.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1514, allocations: 0.614 MB / 300 MB, free: 21.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1515, allocations: 248.2 kB / 300.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1517, allocations: 132.7 kB / 300.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.1517, allocations: 0.5108 MB / 300.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.152, allocations: 103.6 kB / 300.9 MB, free: 20.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.1522, allocations: 341.8 kB / 301.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.1527, allocations: 444.5 kB / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1527, allocations: 2.328 kB / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008319/0.1535, allocations: 0.6295 MB / 302.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1536, allocations: 11.16 kB / 302.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.1536, allocations: 3.406 kB / 302.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.154, allocations: 205.3 kB / 302.5 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.1543, allocations: 112 kB / 302.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1565, allocations: 3.229 MB / 305.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.1568, allocations: 77.73 kB / 306 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.1568, allocations: 27.84 kB / 306 MB, free: 17.45 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.0001905/0.157, allocations: 214.2 kB / 306.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1571, allocations: 118.7 kB / 306.3 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.1572, allocations: 108.3 kB / 306.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1572, allocations: 9.109 kB / 306.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1572, allocations: 0 / 306.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1572, allocations: 2.25 kB / 306.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.159, allocations: 1.616 MB / 308 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.159, allocations: 3.656 kB / 308.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1592, allocations: 75.36 kB / 308.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.1595, allocations: 187.8 kB / 308.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1595, allocations: 17.84 kB / 308.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.1615, allocations: 3.198 MB / 311.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1615, allocations: 0 / 311.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.1624, allocations: 0.8416 MB / 312.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.1627, allocations: 202.8 kB / 312.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.1627, allocations: 19.94 kB / 312.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1629, allocations: 35.95 kB / 312.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1631, allocations: 92.48 kB / 312.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.1631, allocations: 19.98 kB / 312.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.1635, allocations: 0.4908 MB / 313.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1635, allocations: 4 kB / 313.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000581/0.164, allocations: 357.5 kB / 313.6 MB, free: 11.26 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.0001275/0.1642, allocations: 129.4 kB / 313.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.1651, allocations: 0.748 MB / 314.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1651, allocations: 0 / 314.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.1655, allocations: 0.5879 MB / 315 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.1661, allocations: 243 kB / 315.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.1688, allocations: 2.301 MB / 317.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.169, allocations: 399.8 kB / 318 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.1693, allocations: 131.2 kB / 318.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1694, allocations: 64.48 kB / 318.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1694, allocations: 0 / 318.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of Templates: time 0.0184/0.1878, allocations: 17.49 MB / 335.6 MB, free: 5.406 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.2261464591138065]