Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 47.92 kB / 373.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1029, allocations: 53.32 MB / 426.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.2106/0.3135, allocations: 4.621 MB / 431.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3166, allocations: 1.315 MB / 432.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.317, allocations: 31.84 kB / 432.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.3174, allocations: 175.6 kB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009299/0.3183, allocations: 355.9 kB / 433.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3187, allocations: 221.3 kB / 433.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.32, allocations: 1.618 MB / 435.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009509/0.321, allocations: 0.7973 MB / 435.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009951/0.322, allocations: 0.7082 MB / 436.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3232, allocations: 0.869 MB / 437.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.3234, allocations: 176.7 kB / 437.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.3238, allocations: 186.9 kB / 437.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.3242, allocations: 495.7 kB / 438.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.3251, allocations: 0.7929 MB / 439.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.3278, allocations: 2.275 MB / 441.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3278, allocations: 4 kB / 441.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3278, allocations: 0 / 441.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.3278, allocations: 4.656 kB / 441.4 MB, free: 5.102 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.003578/0.3314, allocations: 1.83 MB / 443.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3315, allocations: 8.531 kB / 443.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.3323, allocations: 214.3 kB / 443.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.3338, allocations: 1.043 MB / 444.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.3339, allocations: 78.06 kB / 444.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.334, allocations: 108.6 kB / 444.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.3366, allocations: 1.556 MB / 446.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.3367, allocations: 1.469 kB / 446.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3368, allocations: 41.58 kB / 446.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.3368, allocations: 47.77 kB / 446.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.3393, allocations: 1.43 MB / 447.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.3461, allocations: 4.908 MB / 452.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3478, allocations: 1.385 MB / 454.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.3491, allocations: 0.6863 MB / 454.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.3492, allocations: 12.83 kB / 454.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.3503, allocations: 0.6128 MB / 455.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.374e-06/0.3503, allocations: 0 / 455.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006284/0.3565, allocations: 2.434 MB / 457.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.3566, allocations: 85.14 kB / 457.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.358, allocations: 0.9602 MB / 458.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.3581, allocations: 41.27 kB / 458.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.3586, allocations: 0.5449 MB / 459.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3589, allocations: 244.8 kB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.3591, allocations: 132.6 kB / 459.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3593, allocations: 344.5 kB / 460.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.36, allocations: 415.5 kB / 460.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.3609, allocations: 0.5537 MB / 461.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.3625, allocations: 0.9407 MB / 462 MB, free: 8.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3625, allocations: 6.594 kB / 462.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002335/0.3648, allocations: 1.288 MB / 463.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3648, allocations: 7.094 kB / 463.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3648, allocations: 7.031 kB / 463.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.3658, allocations: 397.7 kB / 463.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3663, allocations: 112.3 kB / 463.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.3723, allocations: 4.508 MB / 468.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.373, allocations: 82.61 kB / 468.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.3731, allocations: 25.69 kB / 468.5 MB, free: 4.645 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.0008501/0.3739, allocations: 0.489 MB / 469 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3741, allocations: 102.5 kB / 469.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3744, allocations: 121.7 kB / 469.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3744, allocations: 6.781 kB / 469.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3744, allocations: 7.938 kB / 469.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3744, allocations: 9.141 kB / 469.2 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.3788, allocations: 2.578 MB / 471.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3788, allocations: 2.75 kB / 471.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.3793, allocations: 83.88 kB / 471.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009296/0.3802, allocations: 390 kB / 472.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3803, allocations: 23.92 kB / 472.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.3865, allocations: 4.476 MB / 476.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3865, allocations: 0 / 476.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.3901, allocations: 1.95 MB / 478.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.3907, allocations: 292.3 kB / 479 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3909, allocations: 12 kB / 479 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.3914, allocations: 39.95 kB / 479 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.3916, allocations: 80.48 kB / 479.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.3916, allocations: 27.61 kB / 479.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.3928, allocations: 0.6903 MB / 479.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3928, allocations: 0 / 479.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001274/0.394, allocations: 355.1 kB / 480.2 MB, free: 9.785 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.0002564/0.3943, allocations: 137.2 kB / 480.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.3968, allocations: 1.244 MB / 481.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3968, allocations: 0 / 481.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3982, allocations: 0.7861 MB / 482.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.3994, allocations: 256.1 kB / 482.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.4049, allocations: 2.675 MB / 485.3 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.4061, allocations: 1.396 MB / 486.7 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.4066, allocations: 169.2 kB / 486.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.4068, allocations: 59.44 kB / 486.9 MB, free: 2.992 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4068, allocations: 0 / 486.9 MB, free: 2.992 MB / 382.1 MB Notification: Performance of Templates: time 0.03317/0.4399, allocations: 18.73 MB / 0.4938 GB, free: 0.5156 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.863400407135487]