Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 194 kB / 22.76 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 55.89 kB / 369.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2691, allocations: 52.13 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006594/0.2757, allocations: 4.586 MB / 425.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2783, allocations: 1.227 MB / 427.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.2787, allocations: 19.94 kB / 427.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.2791, allocations: 174.6 kB / 427.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2803, allocations: 358 kB / 427.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.2808, allocations: 191.7 kB / 427.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2827, allocations: 1.615 MB / 429.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.2837, allocations: 0.7899 MB / 430.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009552/0.2847, allocations: 0.6852 MB / 430.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.286, allocations: 0.8601 MB / 431.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.2862, allocations: 180 kB / 432 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.2865, allocations: 175.9 kB / 432.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.287, allocations: 486.6 kB / 432.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009018/0.2879, allocations: 0.7933 MB / 433.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.2903, allocations: 2.255 MB / 435.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2903, allocations: 0 / 435.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2903, allocations: 0 / 435.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.682e-05/0.2903, allocations: 0 / 435.7 MB, free: 0.7344 MB / 334.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.003653/0.294, allocations: 1.809 MB / 437.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.294, allocations: 8.031 kB / 437.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.2943, allocations: 156 kB / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.2959, allocations: 0.9975 MB / 438.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.296, allocations: 78.44 kB / 438.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.2962, allocations: 108.1 kB / 438.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.2989, allocations: 1.549 MB / 440.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2989, allocations: 7.984 kB / 440.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.299, allocations: 40 kB / 440.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.2991, allocations: 50.05 kB / 440.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3016, allocations: 1.433 MB / 441.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007517/0.3091, allocations: 4.903 MB / 446.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3109, allocations: 1.387 MB / 448.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3122, allocations: 0.6765 MB / 448.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.3122, allocations: 8.562 kB / 448.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.3133, allocations: 0.6161 MB / 449.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.325e-06/0.3133, allocations: 0 / 449.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.0059/0.3192, allocations: 2.427 MB / 451.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.3193, allocations: 89.77 kB / 452 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.3207, allocations: 0.9343 MB / 452.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.3207, allocations: 45.7 kB / 453 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.3213, allocations: 0.5358 MB / 453.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.3215, allocations: 242 kB / 453.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.3217, allocations: 130.6 kB / 453.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3219, allocations: 337.9 kB / 454.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.3226, allocations: 413.7 kB / 454.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.3234, allocations: 0.5485 MB / 455.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.325, allocations: 0.9503 MB / 456.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.325, allocations: 3.938 kB / 456.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002388/0.3274, allocations: 1.28 MB / 457.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3274, allocations: 8.469 kB / 457.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3274, allocations: 8 kB / 457.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009432/0.3284, allocations: 404.4 kB / 457.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.3289, allocations: 111.9 kB / 457.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.3348, allocations: 4.51 MB / 462.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.3355, allocations: 83.64 kB / 462.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.3355, allocations: 27.92 kB / 462.5 MB, free: 5.035 MB / 366.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_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: 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.000776/0.3363, allocations: 0.4913 MB / 463 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3364, allocations: 103.3 kB / 463.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3367, allocations: 120.5 kB / 463.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3367, allocations: 8 kB / 463.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3367, allocations: 0 / 463.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.3367, allocations: 3.984 kB / 463.3 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.3408, allocations: 2.575 MB / 465.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3408, allocations: 4 kB / 465.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3413, allocations: 83.88 kB / 465.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.3421, allocations: 389 kB / 466.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.3422, allocations: 15.94 kB / 466.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.348, allocations: 4.48 MB / 470.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.348, allocations: 3.984 kB / 470.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.3511, allocations: 1.948 MB / 472.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.3517, allocations: 292.3 kB / 473 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3518, allocations: 12 kB / 473 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.3522, allocations: 43.94 kB / 473.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.3524, allocations: 76.55 kB / 473.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.3525, allocations: 27.98 kB / 473.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009649/0.3534, allocations: 0.6746 MB / 473.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 473.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3545, allocations: 347.2 kB / 474.2 MB, free: 9.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0002192/0.3547, allocations: 139.1 kB / 474.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.3569, allocations: 1.245 MB / 475.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3569, allocations: 0 / 475.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.3582, allocations: 0.7786 MB / 476.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3593, allocations: 247.1 kB / 476.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.3642, allocations: 2.667 MB / 479.3 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.3653, allocations: 1.354 MB / 480.6 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3655, allocations: 67.41 kB / 480.7 MB, free: 2.52 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3655, allocations: 4 kB / 480.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of Templates: time 0.03043/0.396, allocations: 22.11 MB / 0.491 GB, free: 12.47 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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