Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 191.7 kB / 23.7 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.7 MB / 252.5 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 55.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2605, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00495/0.2654, allocations: 3.185 MB / 426.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2669, allocations: 0.8165 MB / 427.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.2671, allocations: 11.94 kB / 427.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.2674, allocations: 67.3 kB / 427.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.2677, allocations: 122.9 kB / 427.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2681, allocations: 147.7 kB / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.2687, allocations: 0.5097 MB / 427.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.269, allocations: 114.3 kB / 428.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.2693, allocations: 211.2 kB / 428.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.2696, allocations: 179 kB / 428.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.2696, allocations: 47.94 kB / 428.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.2697, allocations: 48 kB / 428.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2698, allocations: 111.5 kB / 428.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2701, allocations: 187.1 kB / 428.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.2707, allocations: 0.5327 MB / 429.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2707, allocations: 0 / 429.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2707, allocations: 0 / 429.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2707, allocations: 0 / 429.4 MB, free: 8.219 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00149/0.2722, allocations: 0.7729 MB / 430.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2723, allocations: 12.03 kB / 430.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2724, allocations: 52.61 kB / 430.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.2728, allocations: 275.4 kB / 430.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.2729, allocations: 33.36 kB / 430.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.2729, allocations: 44.27 kB / 430.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.2736, allocations: 417.7 kB / 430.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2737, allocations: 4 kB / 430.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.2737, allocations: 11.98 kB / 431 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.2737, allocations: 12 kB / 431 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.2742, allocations: 259.8 kB / 431.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.2763, allocations: 1.287 MB / 432.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.2768, allocations: 219.4 kB / 432.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.2771, allocations: 153.2 kB / 432.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2772, allocations: 4.234 kB / 432.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.2776, allocations: 263.6 kB / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.2776, allocations: 0 / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001513/0.2791, allocations: 0.502 MB / 433.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.2792, allocations: 106.8 kB / 433.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.2795, allocations: 284.2 kB / 434 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.2796, allocations: 41.69 kB / 434.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2797, allocations: 224.6 kB / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.2798, allocations: 91.23 kB / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.2799, allocations: 78.02 kB / 434.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2801, allocations: 338.8 kB / 434.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2803, allocations: 92.7 kB / 434.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.2806, allocations: 243.2 kB / 435.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.2811, allocations: 334.5 kB / 435.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2811, allocations: 0 / 435.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007142/0.2818, allocations: 405.7 kB / 435.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2819, allocations: 8 kB / 435.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2819, allocations: 4 kB / 435.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.2822, allocations: 85.25 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2824, allocations: 59.91 kB / 436 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.2845, allocations: 1.856 MB / 437.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.2847, allocations: 39.83 kB / 437.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.2847, allocations: 16 kB / 437.9 MB, free: 15.18 MB / 350.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: 11 (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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.2849, allocations: 177.7 kB / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.285, allocations: 31.81 kB / 438.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.285, allocations: 43.02 kB / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2851, allocations: 4 kB / 438.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2851, allocations: 0 / 438.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2851, allocations: 0 / 438.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.2857, allocations: 458.8 kB / 438.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.2857, allocations: 3.938 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.2858, allocations: 35.92 kB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.2861, allocations: 76.8 kB / 438.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.2861, allocations: 8 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.2881, allocations: 1.857 MB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2881, allocations: 4.031 kB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/0.289, allocations: 0.4963 MB / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2892, allocations: 59.75 kB / 441.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2892, allocations: 8 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.2894, allocations: 20.05 kB / 441.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.2895, allocations: 27.89 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2895, allocations: 11.98 kB / 441.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.2897, allocations: 203.1 kB / 441.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2897, allocations: 0 / 441.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.2902, allocations: 111.8 kB / 441.5 MB, free: 11.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001645/0.2904, allocations: 116.9 kB / 441.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008001/0.2912, allocations: 406.2 kB / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2912, allocations: 0 / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.2916, allocations: 271.5 kB / 442.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2919, allocations: 56.84 kB / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2932, allocations: 0.7178 MB / 443 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2934, allocations: 203.1 kB / 443.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.2935, allocations: 30.97 kB / 443.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.2936, allocations: 35.42 kB / 443.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2936, allocations: 0 / 443.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Templates: time 0.01019/0.3038, allocations: 4.878 MB / 448.2 MB, free: 4.727 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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: 4.535844331607223]