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.001346/0.001346, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001454/0.001454, allocations: 209 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001853/0.001853, allocations: 47.86 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006437/0.2538, allocations: 4.2 MB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.2567, allocations: 1.273 MB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.2571, allocations: 35.75 kB / 437.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.2575, allocations: 166.7 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.2585, allocations: 373.9 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.259, allocations: 219.6 kB / 438.6 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2608, allocations: 1.627 MB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/0.2617, allocations: 0.5677 MB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.2627, allocations: 0.7086 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2641, allocations: 0.8679 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.2645, allocations: 180 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.2648, allocations: 192 kB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.2653, allocations: 486.5 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008163/0.2662, allocations: 0.6379 MB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.2686, allocations: 2.295 MB / 446.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2686, allocations: 0 / 446.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2686, allocations: 0 / 446.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.221e-05/0.2687, allocations: 0 / 446.1 MB, free: 8.867 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.004145/0.2728, allocations: 2.072 MB / 448.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2729, allocations: 12.03 kB / 448.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.2736, allocations: 207.9 kB / 448.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.2758, allocations: 0.9749 MB / 449.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.2758, allocations: 82.44 kB / 449.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.276, allocations: 104.1 kB / 449.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.2788, allocations: 1.586 MB / 451.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.2789, allocations: 3.938 kB / 451.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.279, allocations: 40 kB / 451.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.2791, allocations: 50.03 kB / 451.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.2817, allocations: 1.433 MB / 452.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/0.2891, allocations: 4.316 MB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2907, allocations: 0.933 MB / 457.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.2921, allocations: 0.6846 MB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.2921, allocations: 8.594 kB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.2932, allocations: 0.6374 MB / 459.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2932, allocations: 0 / 459.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006171/0.2994, allocations: 2.356 MB / 461.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.2995, allocations: 89.77 kB / 461.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.3009, allocations: 0.9267 MB / 462.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/0.301, allocations: 45.7 kB / 462.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.3015, allocations: 0.5513 MB / 463.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.3018, allocations: 245.9 kB / 463.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.302, allocations: 130.7 kB / 463.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3022, allocations: 330 kB / 463.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.3029, allocations: 413.7 kB / 464.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.3038, allocations: 0.5776 MB / 464.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.3054, allocations: 0.9483 MB / 465.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3054, allocations: 0 / 465.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002378/0.3078, allocations: 1.287 MB / 467.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3078, allocations: 8.031 kB / 467.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3078, allocations: 8 kB / 467.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/0.3088, allocations: 399.1 kB / 467.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3093, allocations: 107.8 kB / 467.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/0.3152, allocations: 4.318 MB / 472 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.3159, allocations: 79.64 kB / 472.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.3159, allocations: 31.98 kB / 472.1 MB, free: 14.27 MB / 382.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_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) * 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.000797/0.3167, allocations: 499.2 kB / 472.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.3169, allocations: 99.33 kB / 472.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.3171, allocations: 120.5 kB / 472.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3171, allocations: 11.94 kB / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3171, allocations: 0 / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3171, allocations: 3.984 kB / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.3212, allocations: 2.278 MB / 475.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3212, allocations: 0 / 475.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.3217, allocations: 83.88 kB / 475.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008591/0.3225, allocations: 392.9 kB / 475.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.3226, allocations: 15.98 kB / 475.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.3285, allocations: 4.293 MB / 479.9 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3285, allocations: 0 / 479.9 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.3318, allocations: 1.94 MB / 481.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.3325, allocations: 223.1 kB / 482 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3326, allocations: 19.92 kB / 482 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.3331, allocations: 43.89 kB / 482.1 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.3333, allocations: 80.5 kB / 482.2 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.3333, allocations: 20 kB / 482.2 MB, free: 4.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009786/0.3343, allocations: 0.6707 MB / 482.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 482.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3353, allocations: 355.1 kB / 483.2 MB, free: 2.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0001876/0.3355, allocations: 133.4 kB / 483.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.3378, allocations: 1.242 MB / 484.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3378, allocations: 192 / 484.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.3392, allocations: 0.779 MB / 485.3 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3402, allocations: 240.8 kB / 485.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3453, allocations: 2.694 MB / 488.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/0.3462, allocations: 0.7726 MB / 489 MB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.3465, allocations: 63.42 kB / 489.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3465, allocations: 0 / 489.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of Templates: time 0.03188/0.3784, allocations: 22.73 MB / 0.4998 GB, free: 6.301 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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: 9.0639569577761]