Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001241/0.001241, allocations: 114 kB / 19.17 MB, free: 3.895 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.001307/0.001307, allocations: 208.9 kB / 22.13 MB, free: 0.9414 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.451/1.451, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1014, allocations: 53.33 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005387/0.1068, allocations: 3.741 MB / 431.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.1089, allocations: 1.087 MB / 432.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1092, allocations: 19.88 kB / 432.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1094, allocations: 103.1 kB / 432.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.1102, allocations: 238.6 kB / 433 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1106, allocations: 159.7 kB / 433.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1117, allocations: 0.9728 MB / 434.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.1123, allocations: 451 kB / 434.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.113, allocations: 426.6 kB / 435 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.1137, allocations: 0.5019 MB / 435.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1138, allocations: 100 kB / 435.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.114, allocations: 108 kB / 435.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.1143, allocations: 271.2 kB / 436 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.1149, allocations: 489.7 kB / 436.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1163, allocations: 1.308 MB / 437.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1163, allocations: 0 / 437.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1163, allocations: 0 / 437.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1163, allocations: 4 kB / 437.8 MB, free: 10.49 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002256/0.1185, allocations: 1.208 MB / 439 MB, free: 9.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1186, allocations: 8.031 kB / 439 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.119, allocations: 124.3 kB / 439.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/0.12, allocations: 0.6612 MB / 439.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.1201, allocations: 57.23 kB / 439.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1202, allocations: 64 kB / 439.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.1218, allocations: 0.9228 MB / 440.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1218, allocations: 0 / 440.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.1219, allocations: 28 kB / 440.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.122, allocations: 33.3 kB / 440.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.1234, allocations: 0.7897 MB / 441.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.1278, allocations: 2.788 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1288, allocations: 0.7142 MB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.1294, allocations: 313.3 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.1294, allocations: 4.328 kB / 445.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/0.1301, allocations: 385.8 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.1301, allocations: 0 / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00316/0.1333, allocations: 1.233 MB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.1334, allocations: 118.6 kB / 447.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.1342, allocations: 0.584 MB / 447.8 MB, free: 100 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1342, allocations: 33.7 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1961/0.3303, allocations: 365 kB / 448.2 MB, free: 25.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.3305, allocations: 146.1 kB / 448.3 MB, free: 25.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.3306, allocations: 87.11 kB / 448.4 MB, free: 25.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.3307, allocations: 368.2 kB / 448.8 MB, free: 24.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.3311, allocations: 220 kB / 449 MB, free: 24.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3315, allocations: 362.8 kB / 449.3 MB, free: 24.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.3323, allocations: 0.5707 MB / 449.9 MB, free: 24.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3323, allocations: 3.5 kB / 449.9 MB, free: 24.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001164/0.3334, allocations: 0.7477 MB / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3335, allocations: 6.656 kB / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3335, allocations: 4.219 kB / 450.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.334, allocations: 206.9 kB / 450.9 MB, free: 24.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3342, allocations: 72.39 kB / 450.9 MB, free: 24.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.3371, allocations: 3.034 MB / 454 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.3374, allocations: 58.42 kB / 454 MB, free: 22.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3375, allocations: 18.94 kB / 454.1 MB, free: 22.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003847/0.3378, allocations: 336 kB / 454.4 MB, free: 21.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.3379, allocations: 59.97 kB / 454.4 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3381, allocations: 67.31 kB / 454.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3381, allocations: 5.375 kB / 454.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3381, allocations: 4.406 kB / 454.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3381, allocations: 6.344 kB / 454.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.3405, allocations: 1.74 MB / 456.3 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3405, allocations: 1.828 kB / 456.3 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.3408, allocations: 43.06 kB / 456.3 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.3412, allocations: 200 kB / 456.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3412, allocations: 16.2 kB / 456.5 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.3438, allocations: 2.909 MB / 459.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.3438, allocations: 8.234 kB / 459.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.3456, allocations: 1.142 MB / 460.6 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3458, allocations: 202.7 kB / 460.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.3459, allocations: 8.484 kB / 460.8 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.3462, allocations: 27.84 kB / 460.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3463, allocations: 39.62 kB / 460.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3464, allocations: 17.59 kB / 460.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004763/0.3468, allocations: 430.9 kB / 461.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 461.3 MB, free: 17.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.3475, allocations: 206.2 kB / 461.5 MB, free: 17.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.3477, allocations: 133.5 kB / 461.6 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3489, allocations: 0.7133 MB / 462.3 MB, free: 17.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.3489, allocations: 1.188 kB / 462.3 MB, free: 17.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.3495, allocations: 465.2 kB / 462.8 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.3502, allocations: 150.9 kB / 462.9 MB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3528, allocations: 1.6 MB / 464.5 MB, free: 16.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3533, allocations: 1.066 MB / 465.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3534, allocations: 45.27 kB / 465.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3534, allocations: 0 / 465.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01619/0.3696, allocations: 13.16 MB / 478.8 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 8.41388621297665]