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.001711/0.001711, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.00198/0.00198, allocations: 184.2 kB / 23.71 MB, free: 4.695 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.619/1.619, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.001578/0.001578, allocations: 47.92 kB / 371 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2732, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004985/0.2782, allocations: 3.49 MB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2797, allocations: 0.8529 MB / 427.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2799, allocations: 8 kB / 427.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.2801, allocations: 67.3 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.2804, allocations: 126.8 kB / 427.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.2807, allocations: 139.8 kB / 427.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006114/0.2814, allocations: 0.5174 MB / 428.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2816, allocations: 119.9 kB / 428.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.2819, allocations: 203.3 kB / 428.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.2822, allocations: 218.9 kB / 428.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.2823, allocations: 44 kB / 428.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.2824, allocations: 48 kB / 429 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2825, allocations: 99.62 kB / 429.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2828, allocations: 238.8 kB / 429.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.2834, allocations: 0.5249 MB / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2834, allocations: 0 / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.2834, allocations: 0 / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2834, allocations: 0 / 429.8 MB, free: 7.977 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.001473/0.2849, allocations: 0.77 MB / 430.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2849, allocations: 12.03 kB / 430.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.285, allocations: 52.61 kB / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.2855, allocations: 283.3 kB / 430.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.2855, allocations: 29.38 kB / 430.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.2856, allocations: 36.38 kB / 431 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.2864, allocations: 407.9 kB / 431.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.2864, allocations: 7.938 kB / 431.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.2865, allocations: 12 kB / 431.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2865, allocations: 8 kB / 431.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.2871, allocations: 263.8 kB / 431.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.2894, allocations: 1.438 MB / 433.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.2898, allocations: 211.5 kB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.2902, allocations: 157.2 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2902, allocations: 240 / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.2907, allocations: 234 kB / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.2907, allocations: 4 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001529/0.2922, allocations: 0.5019 MB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.2923, allocations: 110.8 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.2926, allocations: 288.6 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.2926, allocations: 37.7 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2928, allocations: 220.7 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.2929, allocations: 99.16 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.293, allocations: 78.06 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2932, allocations: 342.8 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2934, allocations: 92.7 kB / 435.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.2937, allocations: 229.5 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.2942, allocations: 322.5 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2942, allocations: 4 kB / 436 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007489/0.2949, allocations: 405.8 kB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.295, allocations: 4.5 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.295, allocations: 11.98 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.2953, allocations: 84.8 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2955, allocations: 59.84 kB / 436.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.2977, allocations: 1.891 MB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2979, allocations: 39.83 kB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.2979, allocations: 20 kB / 438.5 MB, free: 14.78 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.000245/0.2982, allocations: 174.1 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.2982, allocations: 35.75 kB / 438.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.2983, allocations: 39.09 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.2983, allocations: 4 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.2983, allocations: 0 / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.2984, allocations: 3.984 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.299, allocations: 0.545 MB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2991, allocations: 3.984 kB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2992, allocations: 35.91 kB / 439.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.2995, allocations: 72.81 kB / 439.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2995, allocations: 8 kB / 439.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.3016, allocations: 1.9 MB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3016, allocations: 0 / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3026, allocations: 0.4958 MB / 441.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3027, allocations: 63.69 kB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3028, allocations: 8 kB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.303, allocations: 11.98 kB / 441.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.3031, allocations: 27.95 kB / 441.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3031, allocations: 7.984 kB / 441.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3033, allocations: 211.1 kB / 442.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3033, allocations: 0 / 442.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.3038, allocations: 123.7 kB / 442.2 MB, free: 10.82 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.000145/0.304, allocations: 114.4 kB / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.3048, allocations: 403 kB / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3048, allocations: 0 / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.3053, allocations: 274.4 kB / 443 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3056, allocations: 56.81 kB / 443.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.307, allocations: 0.7283 MB / 443.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.3075, allocations: 0.8106 MB / 444.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3076, allocations: 30.97 kB / 444.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3077, allocations: 27.44 kB / 444.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3077, allocations: 0 / 444.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Templates: time 0.01083/0.3185, allocations: 5.059 MB / 449.7 MB, free: 3.34 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.767419796437025]