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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 116.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] 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.001528/0.001528, allocations: 51.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1025, allocations: 52.14 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006791/0.1093, allocations: 4.584 MB / 423.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.112, allocations: 1.227 MB / 424.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.1125, allocations: 27.88 kB / 424.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.113, allocations: 170.6 kB / 425 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.1143, allocations: 366 kB / 425.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1148, allocations: 191.7 kB / 425.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.1176, allocations: 1.603 MB / 427.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.1192, allocations: 0.7938 MB / 427.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1206, allocations: 0.6775 MB / 428.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1222, allocations: 0.8718 MB / 429.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.1227, allocations: 176 kB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.1232, allocations: 176 kB / 429.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.1238, allocations: 482.6 kB / 430.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.1251, allocations: 0.7894 MB / 431.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.1278, allocations: 2.254 MB / 433.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1278, allocations: 0 / 433.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1278, allocations: 0 / 433.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.469e-05/0.1279, allocations: 4 kB / 433.3 MB, free: 13.68 MB / 366.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.004392/0.1323, allocations: 1.805 MB / 435.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1323, allocations: 19.97 kB / 435.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.1327, allocations: 160 kB / 435.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.1346, allocations: 0.9898 MB / 436.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.1346, allocations: 78.44 kB / 436.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.1349, allocations: 104.1 kB / 436.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.1377, allocations: 1.561 MB / 438 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.1377, allocations: 0 / 438 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1378, allocations: 40 kB / 438.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/0.1379, allocations: 46.03 kB / 438.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.1406, allocations: 1.437 MB / 439.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/0.1486, allocations: 4.899 MB / 444.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.1504, allocations: 1.383 MB / 445.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1517, allocations: 0.6888 MB / 446.5 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.1517, allocations: 8.5 kB / 446.5 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1992/0.3509, allocations: 0.6115 MB / 447.1 MB, free: 30.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/0.3509, allocations: 0.625 kB / 447.1 MB, free: 30.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005553/0.3564, allocations: 2.424 MB / 449.6 MB, free: 30 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3565, allocations: 91.5 kB / 449.7 MB, free: 29.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3577, allocations: 0.9359 MB / 450.6 MB, free: 29.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.3577, allocations: 37.81 kB / 450.6 MB, free: 29.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.3581, allocations: 0.5376 MB / 451.2 MB, free: 29.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.3583, allocations: 243.3 kB / 451.4 MB, free: 29.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.3585, allocations: 128.8 kB / 451.5 MB, free: 29.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.3586, allocations: 340.2 kB / 451.9 MB, free: 29.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.3593, allocations: 415.1 kB / 452.3 MB, free: 29.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.36, allocations: 0.5534 MB / 452.8 MB, free: 29.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3614, allocations: 0.9407 MB / 453.8 MB, free: 28.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3614, allocations: 0 / 453.8 MB, free: 28.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002412/0.3638, allocations: 1.286 MB / 455.1 MB, free: 28.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3639, allocations: 7.031 kB / 455.1 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3639, allocations: 3.5 kB / 455.1 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/0.3648, allocations: 403.2 kB / 455.5 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.3653, allocations: 112.9 kB / 455.6 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.3704, allocations: 4.504 MB / 460.1 MB, free: 25.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.3711, allocations: 85.59 kB / 460.2 MB, free: 25.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.3711, allocations: 28.31 kB / 460.2 MB, free: 25.16 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.0007574/0.3719, allocations: 496.1 kB / 460.7 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.372, allocations: 97.84 kB / 460.8 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.3723, allocations: 118.3 kB / 460.9 MB, free: 24.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3723, allocations: 8.906 kB / 460.9 MB, free: 24.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3723, allocations: 2.906 kB / 460.9 MB, free: 24.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3723, allocations: 3.609 kB / 460.9 MB, free: 24.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.3761, allocations: 2.582 MB / 463.5 MB, free: 23.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3761, allocations: 4 kB / 463.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.3766, allocations: 88.31 kB / 463.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/0.3773, allocations: 385.8 kB / 463.9 MB, free: 23.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.3774, allocations: 17.42 kB / 464 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004725/0.3821, allocations: 4.481 MB / 468.4 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3821, allocations: 0.6562 kB / 468.4 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.3848, allocations: 1.944 MB / 470.4 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.3853, allocations: 287.3 kB / 470.7 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3854, allocations: 11.59 kB / 470.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.3858, allocations: 53.53 kB / 470.7 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.386, allocations: 84.48 kB / 470.8 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.386, allocations: 20.86 kB / 470.8 MB, free: 19.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008145/0.3868, allocations: 0.6737 MB / 471.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 471.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.3879, allocations: 347.5 kB / 471.8 MB, free: 19.22 MB / 366.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.0001614/0.3881, allocations: 131.2 kB / 472 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.3901, allocations: 1.252 MB / 473.2 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3901, allocations: 1.312 kB / 473.2 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3911, allocations: 0.7728 MB / 474 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3921, allocations: 255.3 kB / 474.2 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.3963, allocations: 2.65 MB / 476.9 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.397, allocations: 1.367 MB / 478.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3971, allocations: 65.02 kB / 478.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3971, allocations: 0 / 478.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.02254/0.4197, allocations: 22.12 MB / 0.4887 GB, free: 10.96 MB / 382.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 [Calling sys.exit(0), Time elapsed: 9.23980541099445]