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.001837/0.001837, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001499/0.001499, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.499/1.499, allocations: 230.2 MB / 254.5 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.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.001965/0.001965, allocations: 67.89 kB / 373.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1149, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006679/0.1216, allocations: 4.614 MB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.126, allocations: 1.324 MB / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.1265, allocations: 23.88 kB / 433.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.127, allocations: 170.6 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1281, allocations: 362 kB / 433.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1286, allocations: 219.6 kB / 433.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1304, allocations: 1.638 MB / 435.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.1316, allocations: 0.7938 MB / 436.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009163/0.1325, allocations: 0.7086 MB / 437 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1337, allocations: 0.864 MB / 437.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.1339, allocations: 180 kB / 438.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1342, allocations: 180 kB / 438.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.1347, allocations: 494.5 kB / 438.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.1355, allocations: 0.7933 MB / 439.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.138, allocations: 2.285 MB / 441.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.138, allocations: 3.984 kB / 441.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.138, allocations: 0 / 441.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.138, allocations: 0 / 441.8 MB, free: 5.754 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.003578/0.1416, allocations: 1.828 MB / 443.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1416, allocations: 12.03 kB / 443.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.1424, allocations: 207.9 kB / 443.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.144, allocations: 1.044 MB / 444.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.1441, allocations: 78.44 kB / 445 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.1443, allocations: 108.1 kB / 445.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.1471, allocations: 1.561 MB / 446.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.1471, allocations: 4 kB / 446.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1472, allocations: 40 kB / 446.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.1473, allocations: 46.03 kB / 446.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.208/0.3552, allocations: 1.431 MB / 448.1 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.362, allocations: 4.898 MB / 453 MB, free: 21.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.3636, allocations: 1.381 MB / 454.4 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3649, allocations: 0.6871 MB / 455.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.3649, allocations: 7.656 kB / 455.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.366, allocations: 0.616 MB / 455.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.004e-06/0.366, allocations: 0 / 455.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006053/0.372, allocations: 2.423 MB / 458.2 MB, free: 19.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3721, allocations: 95.5 kB / 458.3 MB, free: 19.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3734, allocations: 0.9634 MB / 459.2 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.3734, allocations: 42.2 kB / 459.3 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3738, allocations: 0.5418 MB / 459.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3739, allocations: 248.2 kB / 460 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.3741, allocations: 128.4 kB / 460.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.3742, allocations: 330.3 kB / 460.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.3749, allocations: 417.9 kB / 460.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.3756, allocations: 0.5542 MB / 461.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.377, allocations: 0.9444 MB / 462.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.377, allocations: 3.312 kB / 462.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002153/0.3792, allocations: 1.288 MB / 463.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3792, allocations: 9.969 kB / 463.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3792, allocations: 5.109 kB / 463.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/0.3802, allocations: 400.7 kB / 464.1 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.3807, allocations: 116.7 kB / 464.2 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.386, allocations: 4.507 MB / 468.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.3866, allocations: 84.69 kB / 468.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.3867, allocations: 25.97 kB / 468.8 MB, free: 13.78 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.0007598/0.3875, allocations: 0.492 MB / 469.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.3876, allocations: 97.95 kB / 469.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3878, allocations: 121.1 kB / 469.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3878, allocations: 10.97 kB / 469.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3878, allocations: 1.031 kB / 469.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3878, allocations: 3.797 kB / 469.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.3914, allocations: 2.582 MB / 472.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3914, allocations: 9.031 kB / 472.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.3919, allocations: 83.97 kB / 472.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007852/0.3926, allocations: 392.8 kB / 472.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.3927, allocations: 18.23 kB / 472.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.3971, allocations: 4.483 MB / 477.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3971, allocations: 0 / 477.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.3999, allocations: 1.952 MB / 479.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.4003, allocations: 286.5 kB / 479.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4004, allocations: 23.2 kB / 479.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.4009, allocations: 46.36 kB / 479.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.4011, allocations: 74.39 kB / 479.5 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.4011, allocations: 21.62 kB / 479.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008509/0.402, allocations: 0.6914 MB / 480.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.402, allocations: 0 / 480.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001048/0.403, allocations: 353.8 kB / 480.5 MB, free: 6.375 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.0001668/0.4032, allocations: 134.3 kB / 480.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.4052, allocations: 1.254 MB / 481.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4052, allocations: 0 / 481.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4062, allocations: 0.7741 MB / 482.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.4072, allocations: 259.3 kB / 482.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.4116, allocations: 2.674 MB / 485.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.4124, allocations: 1.401 MB / 487 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004922/0.4129, allocations: 170.1 kB / 487.2 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4131, allocations: 57.25 kB / 487.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4131, allocations: 0 / 487.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of Templates: time 0.03228/0.4453, allocations: 18.73 MB / 0.4941 GB, free: 15.96 MB / 398.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.793247141875327]