Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.5 MB / 255.4 MB, free: 14.98 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.83 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 53.32 MB / 428.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005022/0.1084, allocations: 3.497 MB / 431.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1863/0.2947, allocations: 0.9277 MB / 432.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.2951, allocations: 9.781 kB / 432.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.2953, allocations: 65.44 kB / 432.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.2957, allocations: 131.1 kB / 432.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.2961, allocations: 164.8 kB / 432.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.2967, allocations: 0.5217 MB / 433.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.297, allocations: 128.2 kB / 433.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2973, allocations: 207.8 kB / 433.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.2975, allocations: 222.2 kB / 433.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.941e-05/0.2976, allocations: 46.5 kB / 434 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2978, allocations: 49.56 kB / 434 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.2978, allocations: 107.1 kB / 434.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.298, allocations: 235.4 kB / 434.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.2985, allocations: 0.5397 MB / 434.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2985, allocations: 1.375 kB / 434.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2985, allocations: 0 / 434.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2985, allocations: 0 / 434.9 MB, free: 7.852 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001155/0.2997, allocations: 0.7508 MB / 435.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2997, allocations: 8.625 kB / 435.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3, allocations: 71.34 kB / 435.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.3004, allocations: 370.3 kB / 436.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3004, allocations: 33.44 kB / 436.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.3005, allocations: 36.94 kB / 436.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.3011, allocations: 392.2 kB / 436.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3011, allocations: 2.953 kB / 436.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3011, allocations: 16.31 kB / 436.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3012, allocations: 10.34 kB / 436.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.3017, allocations: 263.8 kB / 436.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.3036, allocations: 1.498 MB / 438.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.304, allocations: 215.2 kB / 438.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.3043, allocations: 157.3 kB / 438.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3044, allocations: 8.75 kB / 438.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.3048, allocations: 234.1 kB / 438.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.3048, allocations: 1.312 kB / 438.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001489/0.3063, allocations: 0.5889 MB / 439.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3063, allocations: 109.3 kB / 439.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3066, allocations: 309.5 kB / 439.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3067, allocations: 32.33 kB / 440 MB, free: 5.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3068, allocations: 224.7 kB / 440.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.3068, allocations: 104.2 kB / 440.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3069, allocations: 75.11 kB / 440.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.307, allocations: 345.9 kB / 440.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3072, allocations: 96.28 kB / 440.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.3075, allocations: 222.9 kB / 441 MB, free: 4.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3079, allocations: 325.9 kB / 441.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3079, allocations: 1.672 kB / 441.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006762/0.3086, allocations: 416.2 kB / 441.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3086, allocations: 6.188 kB / 441.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3086, allocations: 4.75 kB / 441.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.3089, allocations: 84.11 kB / 441.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3091, allocations: 64.05 kB / 441.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.3107, allocations: 1.994 MB / 443.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.311, allocations: 43.53 kB / 443.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.311, allocations: 16.83 kB / 443.9 MB, free: 2.062 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.0001746/0.3112, allocations: 174 kB / 444.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3112, allocations: 35.12 kB / 444.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.3113, allocations: 39.98 kB / 444.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3113, allocations: 3.875 kB / 444.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3113, allocations: 2.031 kB / 444.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3113, allocations: 1.828 kB / 444.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.3119, allocations: 0.5821 MB / 444.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.312, allocations: 0 / 444.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3121, allocations: 32.48 kB / 444.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.3124, allocations: 80.09 kB / 444.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3124, allocations: 9.516 kB / 444.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.3142, allocations: 1.982 MB / 446.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3142, allocations: 7.016 kB / 446.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.3151, allocations: 0.4906 MB / 447.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3153, allocations: 139.5 kB / 447.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.3154, allocations: 17.05 kB / 447.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3155, allocations: 14.05 kB / 447.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.3156, allocations: 24.72 kB / 447.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.3156, allocations: 8.625 kB / 447.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.3159, allocations: 217.5 kB / 447.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 1.188 kB / 447.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.3164, allocations: 114 kB / 447.9 MB, free: 15.06 MB / 366.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.0001589/0.3166, allocations: 123.1 kB / 448 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008339/0.3174, allocations: 400.9 kB / 448.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3174, allocations: 1.344 kB / 448.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.3178, allocations: 282.8 kB / 448.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3182, allocations: 62.38 kB / 448.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3196, allocations: 0.7674 MB / 449.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.32, allocations: 0.8076 MB / 450.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.3201, allocations: 27.33 kB / 450.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3201, allocations: 4 kB / 450.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.009893/0.33, allocations: 6.178 MB / 456.5 MB, free: 11.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.419226569123566]