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.001646/0.001646, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.00196/0.00196, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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 1.445/1.445, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00195/0.00195, allocations: 63.89 kB / 378.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2438, allocations: 53.36 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006323/0.2501, allocations: 4.654 MB / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2525, allocations: 1.324 MB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.2528, allocations: 31.81 kB / 438.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.2531, allocations: 174.6 kB / 438.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2541, allocations: 370 kB / 438.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2546, allocations: 215.6 kB / 438.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.2564, allocations: 1.65 MB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.2572, allocations: 0.5834 MB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/0.2581, allocations: 0.7164 MB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.2591, allocations: 0.8718 MB / 442.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.2594, allocations: 179.9 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.2597, allocations: 188 kB / 443.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.2602, allocations: 482.5 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.2611, allocations: 0.7972 MB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.2633, allocations: 2.279 MB / 446.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2633, allocations: 4 kB / 446.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2633, allocations: 0 / 446.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.2633, allocations: 0 / 446.6 MB, free: 8.504 MB / 350.1 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.00365/0.267, allocations: 2.061 MB / 448.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.267, allocations: 12.03 kB / 448.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007781/0.2678, allocations: 211.9 kB / 448.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.2695, allocations: 0.9826 MB / 449.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.2695, allocations: 78.44 kB / 450 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.2697, allocations: 108.1 kB / 450.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.2724, allocations: 1.557 MB / 451.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.2724, allocations: 0 / 451.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.2725, allocations: 44 kB / 451.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.2726, allocations: 46.05 kB / 451.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.2751, allocations: 1.433 MB / 453.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/0.2823, allocations: 4.834 MB / 458 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2838, allocations: 0.9332 MB / 458.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.2852, allocations: 0.6884 MB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.2852, allocations: 4.656 kB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.2863, allocations: 0.6084 MB / 460.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.967e-06/0.2863, allocations: 7.922 kB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00625/0.2925, allocations: 2.364 MB / 462.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.2926, allocations: 89.77 kB / 462.7 MB, free: 8.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.2939, allocations: 0.9581 MB / 463.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.2939, allocations: 41.7 kB / 463.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.2944, allocations: 0.5475 MB / 464.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.2946, allocations: 242 kB / 464.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.2949, allocations: 134.6 kB / 464.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.295, allocations: 334 kB / 464.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.2958, allocations: 417.7 kB / 465.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.2966, allocations: 0.5525 MB / 465.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.2982, allocations: 0.9444 MB / 466.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2982, allocations: 7.938 kB / 466.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002258/0.3004, allocations: 1.287 MB / 468.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3005, allocations: 4 kB / 468.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3005, allocations: 7.938 kB / 468.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009572/0.3014, allocations: 399 kB / 468.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.3019, allocations: 119.8 kB / 468.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/0.3079, allocations: 4.41 MB / 473 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.3085, allocations: 79.64 kB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.3085, allocations: 24 kB / 473.1 MB, free: 13.34 MB / 382.1 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.0007052/0.3092, allocations: 499.3 kB / 473.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.3094, allocations: 99.33 kB / 473.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3096, allocations: 124.8 kB / 473.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3096, allocations: 4 kB / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3096, allocations: 0 / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3097, allocations: 11.92 kB / 473.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.314, allocations: 2.551 MB / 476.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.314, allocations: 0 / 476.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.3145, allocations: 91.88 kB / 476.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.3153, allocations: 388.5 kB / 476.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.3154, allocations: 19.92 kB / 476.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/0.3213, allocations: 4.383 MB / 481.3 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3213, allocations: 0 / 481.3 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.3245, allocations: 1.948 MB / 483.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.325, allocations: 227.1 kB / 483.5 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.3251, allocations: 12 kB / 483.5 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.3256, allocations: 39.95 kB / 483.5 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.3258, allocations: 88.44 kB / 483.6 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.3258, allocations: 23.98 kB / 483.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009713/0.3268, allocations: 0.6941 MB / 484.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3268, allocations: 0 / 484.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009762/0.3278, allocations: 351.2 kB / 484.7 MB, free: 1.621 MB / 382.1 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.0001795/0.328, allocations: 121.3 kB / 484.8 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.3302, allocations: 1.249 MB / 486 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3302, allocations: 4 kB / 486 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.3315, allocations: 0.7764 MB / 486.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3326, allocations: 276.6 kB / 487.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.3372, allocations: 2.69 MB / 489.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.3383, allocations: 1.392 MB / 491.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.3387, allocations: 175.4 kB / 491.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3389, allocations: 59.44 kB / 491.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3389, allocations: 0 / 491.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of Templates: time 0.03539/0.3743, allocations: 19.2 MB / 0.4986 GB, free: 7.797 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.652839684858918]