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.001693/0.001693, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001779/0.001779, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.428/1.428, allocations: 225.6 MB / 250.8 MB, free: 13.43 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.001545/0.001545, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 52.14 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005202/0.2722, allocations: 3.493 MB / 424.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2741, allocations: 0.8515 MB / 425.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.2743, allocations: 8 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.2746, allocations: 63.3 kB / 425.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.2749, allocations: 126.9 kB / 425.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2753, allocations: 155.6 kB / 425.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.2759, allocations: 0.5058 MB / 426.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.2762, allocations: 129.9 kB / 426.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.2765, allocations: 195.2 kB / 426.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.2768, allocations: 215 kB / 426.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.2769, allocations: 44 kB / 426.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.277, allocations: 48 kB / 426.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2771, allocations: 103.6 kB / 426.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2774, allocations: 230.9 kB / 427 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.278, allocations: 0.5249 MB / 427.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.278, allocations: 4 kB / 427.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.278, allocations: 0 / 427.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.278, allocations: 0 / 427.5 MB, free: 8.461 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.00136/0.2794, allocations: 0.7336 MB / 428.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2794, allocations: 12.03 kB / 428.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2795, allocations: 52.61 kB / 428.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.28, allocations: 344.5 kB / 428.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2801, allocations: 33.31 kB / 428.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2802, allocations: 36.38 kB / 428.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.2809, allocations: 396 kB / 429.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2809, allocations: 7.938 kB / 429.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.2809, allocations: 16 kB / 429.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2809, allocations: 8 kB / 429.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.2815, allocations: 263.8 kB / 429.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2835, allocations: 1.481 MB / 430.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.2839, allocations: 219.4 kB / 431.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.2843, allocations: 158.6 kB / 431.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.2843, allocations: 4.234 kB / 431.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.2847, allocations: 230.5 kB / 431.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.2847, allocations: 0 / 431.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001562/0.2863, allocations: 0.5889 MB / 432.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.2864, allocations: 106.8 kB / 432.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.2867, allocations: 300.5 kB / 432.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.2868, allocations: 29.7 kB / 432.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2869, allocations: 220.7 kB / 432.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.287, allocations: 103.1 kB / 432.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2871, allocations: 70 kB / 432.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.2873, allocations: 346.8 kB / 433.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2876, allocations: 92.7 kB / 433.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.288, allocations: 229.5 kB / 433.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.2888, allocations: 334.5 kB / 433.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2888, allocations: 4 kB / 433.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001211/0.29, allocations: 405.8 kB / 434.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.29, allocations: 11.75 kB / 434.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.29, allocations: 4 kB / 434.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.2905, allocations: 81.31 kB / 434.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.2908, allocations: 59.91 kB / 434.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.2937, allocations: 2.002 MB / 436.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.294, allocations: 27.84 kB / 436.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.2941, allocations: 23.94 kB / 436.5 MB, free: 14.93 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_n.off,rectifier.diode_p.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.000326/0.2944, allocations: 184.6 kB / 436.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.2945, allocations: 31.81 kB / 436.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2946, allocations: 39.09 kB / 436.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2946, allocations: 4 kB / 436.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2946, allocations: 0 / 436.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2946, allocations: 3.984 kB / 436.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.2956, allocations: 0.5693 MB / 437.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2956, allocations: 192 / 437.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.2959, allocations: 35.92 kB / 437.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.2963, allocations: 84.77 kB / 437.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.2964, allocations: 8 kB / 437.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.2994, allocations: 1.991 MB / 439.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2994, allocations: 8 kB / 439.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.3007, allocations: 0.4911 MB / 439.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.3009, allocations: 132.8 kB / 440.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.301, allocations: 15.98 kB / 440.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3012, allocations: 12 kB / 440.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3013, allocations: 23.95 kB / 440.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3014, allocations: 12 kB / 440.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.3017, allocations: 211.1 kB / 440.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3017, allocations: 0 / 440.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007639/0.3025, allocations: 115.7 kB / 440.4 MB, free: 10.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001862/0.3026, allocations: 115.3 kB / 440.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3037, allocations: 407.2 kB / 441 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3037, allocations: 256 / 441 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.3043, allocations: 266.5 kB / 441.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3048, allocations: 68.67 kB / 441.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3067, allocations: 0.7339 MB / 442 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.3073, allocations: 0.8029 MB / 442.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.3074, allocations: 30.97 kB / 442.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.3075, allocations: 23.44 kB / 442.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3075, allocations: 4 kB / 442.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Templates: time 0.01504/0.3226, allocations: 4.964 MB / 447.8 MB, free: 3.328 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.5383603144437075]