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.000992/0.000992, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001633/0.001633, allocations: 143.7 kB / 25.59 MB, free: 8.59 MB / 18.57 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 0.9991/0.9991, allocations: 173.4 MB / 202.2 MB, free: 8.266 MB / 186.7 MB " [Timeout remaining time 179] 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.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.501e-05, allocations: 5.125 kB / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.007165/0.00719, allocations: 3.379 MB / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.008689, allocations: 0.8364 MB / 273.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.008878, allocations: 4 kB / 273.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.009085, allocations: 67.3 kB / 273.5 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.009395, allocations: 140.5 kB / 273.6 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.009682, allocations: 138.8 kB / 273.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.01015, allocations: 0.5328 MB / 274.3 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.01038, allocations: 114.4 kB / 274.4 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.01071, allocations: 303.2 kB / 274.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.01092, allocations: 159.5 kB / 274.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.01097, allocations: 45.78 kB / 274.9 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.01102, allocations: 44 kB / 275 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.0111, allocations: 111.6 kB / 275.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.01125, allocations: 159.6 kB / 275.2 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.01157, allocations: 339.5 kB / 275.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01157, allocations: 3.938 kB / 275.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01158, allocations: 0.75 kB / 275.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.01158, allocations: 3.938 kB / 275.6 MB, free: 3.387 MB / 250.7 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.0008714/0.01245, allocations: 0.8798 MB / 276.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.01248, allocations: 12.02 kB / 276.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.01257, allocations: 84.61 kB / 276.5 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.01285, allocations: 276.4 kB / 276.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.01287, allocations: 29.38 kB / 276.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.01291, allocations: 40.36 kB / 276.9 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.01324, allocations: 330.1 kB / 277.2 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01326, allocations: 4.188 kB / 277.2 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.01328, allocations: 16.12 kB / 277.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01329, allocations: 8 kB / 277.2 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.01344, allocations: 114.8 kB / 277.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01464, allocations: 1.393 MB / 278.7 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.01484, allocations: 163.8 kB / 278.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.01499, allocations: 108.1 kB / 279 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.01501, allocations: 8.234 kB / 279 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.01522, allocations: 209.9 kB / 279.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.734e-06/0.01522, allocations: 0 / 279.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007056/0.01592, allocations: 361.4 kB / 279.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.01597, allocations: 114.8 kB / 279.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.01621, allocations: 326 kB / 280 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01623, allocations: 33.69 kB / 280 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01636, allocations: 267.4 kB / 280.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.01642, allocations: 103.1 kB / 280.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.01649, allocations: 75.7 kB / 280.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01666, allocations: 0.5233 MB / 281 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.01671, allocations: 32.72 kB / 281 MB, free: 13.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.01686, allocations: 256.9 kB / 281.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.01717, allocations: 270.1 kB / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01718, allocations: 0 / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003503/0.01753, allocations: 307.8 kB / 281.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.01754, allocations: 8 kB / 281.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01755, allocations: 4 kB / 281.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.01771, allocations: 59.58 kB / 281.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01784, allocations: 67.84 kB / 282 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.01918, allocations: 2.236 MB / 284.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.0193, allocations: 39.77 kB / 284.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01932, allocations: 15.94 kB / 284.3 MB, free: 10.09 MB / 266.7 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.000116/0.01944, allocations: 180.5 kB / 284.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.01948, allocations: 47.84 kB / 284.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.01952, allocations: 35.08 kB / 284.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01953, allocations: 4 kB / 284.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01953, allocations: 0 / 284.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01954, allocations: 3.984 kB / 284.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.0199, allocations: 449.4 kB / 285 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.0199, allocations: 3.984 kB / 285 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.01999, allocations: 31.92 kB / 285 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.02014, allocations: 59.67 kB / 285.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.02015, allocations: 8 kB / 285.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.02149, allocations: 2.225 MB / 287.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02149, allocations: 0 / 287.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.02187, allocations: 336.4 kB / 287.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.02194, allocations: 55.66 kB / 287.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.02197, allocations: 15.98 kB / 287.7 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.02206, allocations: 12 kB / 287.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.02212, allocations: 35.88 kB / 287.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.02213, allocations: 4 kB / 287.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.02224, allocations: 218.9 kB / 288 MB, free: 6.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02224, allocations: 0 / 288 MB, free: 6.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.02257, allocations: 119.8 kB / 288.1 MB, free: 6.07 MB / 266.7 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.0001257/0.0227, allocations: 121.5 kB / 288.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.0231, allocations: 385.2 kB / 288.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02311, allocations: 256 / 288.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.0233, allocations: 293.2 kB / 288.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.02352, allocations: 60.78 kB / 288.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.0245, allocations: 0.6664 MB / 289.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.02455, allocations: 112.5 kB / 289.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.147e-05/0.02464, allocations: 30.97 kB / 289.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.02477, allocations: 134.2 kB / 289.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02477, allocations: 0 / 289.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of Templates: time 0.00764/0.03241, allocations: 4.959 MB / 294.8 MB, free: 15.36 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8525136788375676]