Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001436/0.001436, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001668/0.001668, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.91 kB / 378.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2707, allocations: 53.41 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005666/0.2764, allocations: 3.439 MB / 435.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2785, allocations: 0.9661 MB / 436.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2787, allocations: 7.938 kB / 436.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.279, allocations: 87.16 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.2794, allocations: 146.7 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2798, allocations: 183.7 kB / 436.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.2805, allocations: 0.6227 MB / 437.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.2809, allocations: 140.6 kB / 437.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.2812, allocations: 247.1 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.2816, allocations: 226.8 kB / 437.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.2816, allocations: 56 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2818, allocations: 60 kB / 437.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2819, allocations: 123.5 kB / 437.9 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.2821, allocations: 223 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.2829, allocations: 0.6533 MB / 438.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2829, allocations: 0 / 438.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2829, allocations: 0 / 438.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2829, allocations: 0 / 438.8 MB, free: 15.33 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.001581/0.2845, allocations: 0.858 MB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2845, allocations: 11.98 kB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.2847, allocations: 72.59 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.2853, allocations: 327.1 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.2853, allocations: 29.38 kB / 440.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.2854, allocations: 48.38 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.2863, allocations: 487.2 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2863, allocations: 0 / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.2864, allocations: 27.98 kB / 440.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2864, allocations: 8 kB / 440.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.287, allocations: 315.8 kB / 441 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.2895, allocations: 1.627 MB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.2902, allocations: 349 kB / 442.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.2908, allocations: 252.8 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2909, allocations: 4.328 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.2914, allocations: 298.8 kB / 443.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.2914, allocations: 0 / 443.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002419/0.2938, allocations: 0.771 MB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.2939, allocations: 85.11 kB / 444.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.2943, allocations: 308.5 kB / 444.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.2943, allocations: 37.7 kB / 444.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.2945, allocations: 233.2 kB / 444.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.2946, allocations: 142.8 kB / 445 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2948, allocations: 86.14 kB / 445.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2949, allocations: 350.7 kB / 445.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2952, allocations: 121 kB / 445.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.2956, allocations: 274.1 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.2962, allocations: 382.7 kB / 446.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2962, allocations: 0 / 446.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009375/0.2972, allocations: 0.5017 MB / 446.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2972, allocations: 8 kB / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2972, allocations: 7.938 kB / 446.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/0.2977, allocations: 148.7 kB / 446.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2979, allocations: 67.84 kB / 446.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3011, allocations: 2.378 MB / 449.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.3013, allocations: 43.73 kB / 449.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.3013, allocations: 20.03 kB / 449.4 MB, free: 4.258 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.0002247/0.3016, allocations: 177.8 kB / 449.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.3016, allocations: 39.77 kB / 449.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3017, allocations: 52.23 kB / 449.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3017, allocations: 4 kB / 449.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3017, allocations: 7.938 kB / 449.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3018, allocations: 3.984 kB / 449.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.3032, allocations: 0.8758 MB / 450.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3032, allocations: 0 / 450.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.3034, allocations: 35.92 kB / 450.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.3038, allocations: 147.5 kB / 450.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.3038, allocations: 12.03 kB / 450.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.3068, allocations: 2.382 MB / 453.1 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3068, allocations: 0 / 453.1 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.308, allocations: 0.7036 MB / 453.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.3081, allocations: 71.7 kB / 453.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.3082, allocations: 8 kB / 453.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3084, allocations: 15.98 kB / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3085, allocations: 39.86 kB / 453.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3086, allocations: 16 kB / 454 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3088, allocations: 223 kB / 454.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3088, allocations: 0 / 454.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.3094, allocations: 151.7 kB / 454.3 MB, free: 15.14 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.0001608/0.3095, allocations: 127.1 kB / 454.5 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3106, allocations: 0.5289 MB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3106, allocations: 0 / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.3111, allocations: 363.2 kB / 455.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3116, allocations: 84.3 kB / 455.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3133, allocations: 0.8826 MB / 456.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3135, allocations: 228.8 kB / 456.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.3136, allocations: 35.28 kB / 456.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.3137, allocations: 23.44 kB / 456.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3137, allocations: 0 / 456.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.01359/0.3273, allocations: 6.979 MB / 463.6 MB, free: 5.969 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.815666915848851]