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.001231/0.001231, allocations: 81.06 kB / 20.68 MB, free: 1.035 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.001339/0.001339, allocations: 155.6 kB / 23.94 MB, free: 4.176 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.406/1.406, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.523e-06/1.523e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.046e-05, allocations: 2.281 kB / 319 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003565/0.003586, allocations: 3.17 MB / 322.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004835, allocations: 0.8227 MB / 322.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.005008, allocations: 5.812 kB / 322.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.005202, allocations: 68.92 kB / 323 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.005472, allocations: 140.5 kB / 323.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.005738, allocations: 139.9 kB / 323.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.006161, allocations: 0.5308 MB / 323.8 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.006389, allocations: 118.5 kB / 323.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.006722, allocations: 301.6 kB / 324.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.006983, allocations: 156 kB / 324.4 MB, free: 92 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.007058, allocations: 49.33 kB / 324.4 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.007136, allocations: 50.34 kB / 324.5 MB, free: 84 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.007224, allocations: 105.2 kB / 324.6 MB, free: 8 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.007452, allocations: 156.3 kB / 324.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.008082, allocations: 0.5355 MB / 325.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.008085, allocations: 1.375 kB / 325.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.008085, allocations: 0 / 325.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.008094, allocations: 0 / 325.3 MB, free: 15.71 MB / 302.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.001405/0.009499, allocations: 0.7615 MB / 326 MB, free: 15.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.009534, allocations: 10.52 kB / 326 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.009639, allocations: 57.86 kB / 326.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.01009, allocations: 281.8 kB / 326.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.01012, allocations: 29.89 kB / 326.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.01018, allocations: 41.98 kB / 326.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.01092, allocations: 423.5 kB / 326.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01094, allocations: 1.938 kB / 326.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.01098, allocations: 17.05 kB / 326.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01099, allocations: 8.469 kB / 326.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.01155, allocations: 267.5 kB / 327.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.01361, allocations: 1.277 MB / 328.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.01404, allocations: 211.9 kB / 328.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.01445, allocations: 156.3 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.01448, allocations: 7.5 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.01495, allocations: 258 kB / 329 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.01495, allocations: 5.094 kB / 329 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00161/0.01656, allocations: 0.4914 MB / 329.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.01666, allocations: 116.5 kB / 329.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.01703, allocations: 293 kB / 329.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.01709, allocations: 32.52 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.01733, allocations: 223 kB / 330.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.01745, allocations: 98.98 kB / 330.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.01761, allocations: 72.3 kB / 330.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.01784, allocations: 339.2 kB / 330.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.01808, allocations: 92.39 kB / 330.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.01851, allocations: 257.7 kB / 331 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.01917, allocations: 324.4 kB / 331.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.01917, allocations: 1.156 kB / 331.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007843/0.01996, allocations: 405.7 kB / 331.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.01998, allocations: 15.31 kB / 331.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.01999, allocations: 4.656 kB / 331.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.02037, allocations: 79.19 kB / 331.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.02062, allocations: 63.33 kB / 331.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.0228, allocations: 1.86 MB / 333.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.02306, allocations: 40.11 kB / 333.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.02309, allocations: 13.08 kB / 333.8 MB, free: 9.742 MB / 302.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.0002233/0.02331, allocations: 170.8 kB / 334 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.02337, allocations: 31.98 kB / 334 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.54e-05/0.02345, allocations: 37.73 kB / 334 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.02346, allocations: 3.781 kB / 334.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.02346, allocations: 5.812 kB / 334.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.02347, allocations: 5.578 kB / 334.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/0.02411, allocations: 455.3 kB / 334.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02411, allocations: 5.156 kB / 334.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.0243, allocations: 33.78 kB / 334.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.02455, allocations: 79.38 kB / 334.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.02458, allocations: 13.73 kB / 334.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.02652, allocations: 1.843 MB / 336.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.02652, allocations: 1.219 kB / 336.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.02753, allocations: 0.5033 MB / 337 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.02766, allocations: 52.83 kB / 337 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.02771, allocations: 10.73 kB / 337 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.02789, allocations: 10.72 kB / 337.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.02798, allocations: 29.5 kB / 337.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.02801, allocations: 11.12 kB / 337.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.02824, allocations: 206.6 kB / 337.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02824, allocations: 0 / 337.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000517/0.02876, allocations: 116.9 kB / 337.4 MB, free: 6.91 MB / 302.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.0001627/0.02892, allocations: 118.5 kB / 337.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.02971, allocations: 398.8 kB / 337.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.02971, allocations: 1.125 kB / 337.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.03013, allocations: 275.7 kB / 338.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.03048, allocations: 56.58 kB / 338.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.03176, allocations: 0.6751 MB / 338.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.03196, allocations: 206.8 kB / 339.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.03209, allocations: 32.84 kB / 339.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.03216, allocations: 29 kB / 339.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.03216, allocations: 0 / 339.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Templates: time 0.01013/0.04229, allocations: 4.47 MB / 343.7 MB, free: 2.324 MB / 302.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.293954469263554]