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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001354/0.001354, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001429/0.001429, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.548/1.548, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [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.00197/0.00197, allocations: 71.83 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005424/0.2938, allocations: 3.787 MB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2956, allocations: 0.9987 MB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.2958, allocations: 8 kB / 436.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.296, allocations: 87.16 kB / 436.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.2963, allocations: 142.7 kB / 437.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.2967, allocations: 187.7 kB / 437.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000667/0.2974, allocations: 0.6109 MB / 437.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.2977, allocations: 160.1 kB / 438 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.298, allocations: 231.1 kB / 438.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.2984, allocations: 250.9 kB / 438.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.2984, allocations: 56 kB / 438.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2986, allocations: 67.98 kB / 438.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2987, allocations: 123.5 kB / 438.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.299, allocations: 270.7 kB / 439 MB, free: 424 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.2997, allocations: 0.6536 MB / 439.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2997, allocations: 4 kB / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2997, allocations: 0 / 439.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2997, allocations: 0 / 439.7 MB, free: 15.75 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001563/0.3013, allocations: 0.9229 MB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3013, allocations: 12.03 kB / 440.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3015, allocations: 64.61 kB / 440.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.302, allocations: 388.9 kB / 441 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.3021, allocations: 37.38 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.3021, allocations: 44.38 kB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/0.3029, allocations: 461.5 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3029, allocations: 3.938 kB / 441.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.303, allocations: 20 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.303, allocations: 16 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.3036, allocations: 315.8 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3062, allocations: 1.852 MB / 443.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.3071, allocations: 0.574 MB / 444.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.3077, allocations: 245.4 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3077, allocations: 8.312 kB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.3082, allocations: 273.2 kB / 444.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.3082, allocations: 0 / 444.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00244/0.3106, allocations: 0.8434 MB / 445.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.3107, allocations: 81.11 kB / 445.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.3111, allocations: 332.4 kB / 446.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3112, allocations: 37.7 kB / 446.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3113, allocations: 224.7 kB / 446.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3115, allocations: 142.8 kB / 446.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3116, allocations: 86.2 kB / 446.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3118, allocations: 354.7 kB / 446.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.312, allocations: 121.1 kB / 447.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3124, allocations: 253 kB / 447.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.313, allocations: 378.8 kB / 447.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.313, allocations: 4 kB / 447.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009274/0.3139, allocations: 0.5053 MB / 448.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3139, allocations: 18.78 kB / 448.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3139, allocations: 4 kB / 448.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004678/0.3144, allocations: 144.7 kB / 448.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3146, allocations: 59.91 kB / 448.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.3179, allocations: 2.552 MB / 451 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3182, allocations: 47.77 kB / 451 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3182, allocations: 16 kB / 451 MB, free: 3.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.3185, allocations: 177.7 kB / 451.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.3185, allocations: 51.69 kB / 451.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/0.3186, allocations: 44.41 kB / 451.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3186, allocations: 4 kB / 451.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3186, allocations: 0 / 451.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3186, allocations: 144 / 451.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.3202, allocations: 1.028 MB / 452.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3202, allocations: 0 / 452.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3204, allocations: 31.98 kB / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/0.3208, allocations: 136.8 kB / 452.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.3208, allocations: 15.98 kB / 452.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/0.3238, allocations: 2.544 MB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3238, allocations: 4.031 kB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3251, allocations: 0.7098 MB / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.3253, allocations: 152.8 kB / 455.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.3253, allocations: 15.98 kB / 455.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3256, allocations: 15.94 kB / 455.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3257, allocations: 31.95 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3257, allocations: 19.98 kB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.326, allocations: 227.1 kB / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 456.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006867/0.3267, allocations: 143.8 kB / 456.3 MB, free: 14.18 MB / 366.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.3268, allocations: 127.4 kB / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3279, allocations: 0.5251 MB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3279, allocations: 3.984 kB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.3285, allocations: 367.5 kB / 457.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.329, allocations: 81.27 kB / 457.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3308, allocations: 0.896 MB / 458.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.3314, allocations: 0.8318 MB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.3315, allocations: 43.33 kB / 459.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.3316, allocations: 27.44 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3316, allocations: 0 / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01414/0.3457, allocations: 7.318 MB / 466.6 MB, free: 4.027 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.691090119071305]