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.001482/0.001482, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001688/0.001688, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001584/0.001584, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2477, allocations: 53.36 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006203/0.2539, allocations: 4.191 MB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.2567, allocations: 1.274 MB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.2572, allocations: 27.81 kB / 437.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.2576, allocations: 174.6 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2587, allocations: 366 kB / 438.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2593, allocations: 219.6 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.2612, allocations: 1.631 MB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/0.2621, allocations: 0.5873 MB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.2631, allocations: 0.7047 MB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.2644, allocations: 0.8756 MB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.2647, allocations: 179.9 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.265, allocations: 180 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.2655, allocations: 490.6 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.2663, allocations: 0.6456 MB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.2687, allocations: 2.3 MB / 446.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2687, allocations: 0 / 446.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2687, allocations: 0 / 446.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.2687, allocations: 0 / 446.2 MB, free: 8.801 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.003864/0.2726, allocations: 2.063 MB / 448.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2726, allocations: 8.031 kB / 448.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/0.2734, allocations: 219.9 kB / 448.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.2754, allocations: 0.971 MB / 449.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.2754, allocations: 86.38 kB / 449.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.2756, allocations: 108.1 kB / 449.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.2784, allocations: 1.578 MB / 451.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.2785, allocations: 4 kB / 451.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.2786, allocations: 43.98 kB / 451.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.168e-05/0.2787, allocations: 42.05 kB / 451.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.2815, allocations: 1.437 MB / 452.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008364/0.2899, allocations: 4.316 MB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.2915, allocations: 0.9266 MB / 458 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.2928, allocations: 0.6806 MB / 458.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.2928, allocations: 8.656 kB / 458.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.2939, allocations: 0.6413 MB / 459.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.2939, allocations: 0 / 459.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00614/0.3001, allocations: 2.364 MB / 461.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.3002, allocations: 85.77 kB / 461.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3016, allocations: 0.9267 MB / 462.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.3017, allocations: 41.7 kB / 462.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.3022, allocations: 0.5435 MB / 463.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.3024, allocations: 245.9 kB / 463.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.3027, allocations: 130.7 kB / 463.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3028, allocations: 338 kB / 463.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/0.3036, allocations: 413.7 kB / 464.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.3044, allocations: 0.5853 MB / 464.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.306, allocations: 0.9405 MB / 465.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.306, allocations: 4 kB / 465.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002351/0.3083, allocations: 1.287 MB / 467.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3084, allocations: 7.938 kB / 467.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3084, allocations: 7.938 kB / 467.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3094, allocations: 399.3 kB / 467.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.3099, allocations: 103.9 kB / 467.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.316, allocations: 4.33 MB / 472 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/0.3167, allocations: 79.69 kB / 472.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.3167, allocations: 27.98 kB / 472.1 MB, free: 14.22 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.0009046/0.3176, allocations: 0.4913 MB / 472.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.3179, allocations: 107.3 kB / 472.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3181, allocations: 116.5 kB / 472.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3181, allocations: 8 kB / 472.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3181, allocations: 0 / 472.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3181, allocations: 3.984 kB / 472.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/0.3223, allocations: 2.275 MB / 475.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3223, allocations: 0 / 475.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.3228, allocations: 83.88 kB / 475.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/0.3237, allocations: 393.1 kB / 475.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.3237, allocations: 20 kB / 475.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/0.3295, allocations: 4.289 MB / 479.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3295, allocations: 0 / 479.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.3328, allocations: 1.936 MB / 481.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.3334, allocations: 227.1 kB / 482 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.3336, allocations: 12 kB / 482 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.334, allocations: 43.95 kB / 482.1 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3342, allocations: 80.5 kB / 482.2 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.3343, allocations: 19.98 kB / 482.2 MB, free: 3.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009708/0.3353, allocations: 0.6669 MB / 482.8 MB, free: 3.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3353, allocations: 3.938 kB / 482.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3364, allocations: 355.1 kB / 483.2 MB, free: 2.941 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.0002081/0.3366, allocations: 133.3 kB / 483.3 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.3388, allocations: 1.234 MB / 484.6 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.3389, allocations: 4 kB / 484.6 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3402, allocations: 0.7877 MB / 485.4 MB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3413, allocations: 243 kB / 485.6 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.3465, allocations: 2.691 MB / 488.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.3474, allocations: 0.7726 MB / 489.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.3477, allocations: 63.42 kB / 489.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3477, allocations: 0 / 489.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of Templates: time 0.03171/0.3794, allocations: 22.73 MB / 0.4999 GB, free: 6.246 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.379716500989161]