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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2928, allocations: 50.56 MB / 409.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005294/0.2981, allocations: 3.75 MB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3004, allocations: 0.9856 MB / 414 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.3009, allocations: 11.94 kB / 414 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.3013, allocations: 79.22 kB / 414.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.3021, allocations: 142.7 kB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.3028, allocations: 183.6 kB / 414.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3039, allocations: 0.6187 MB / 415 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.3043, allocations: 215.9 kB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.3048, allocations: 235.1 kB / 415.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.3053, allocations: 254.9 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3054, allocations: 60 kB / 415.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.3055, allocations: 56 kB / 415.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3057, allocations: 127.5 kB / 416 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.306, allocations: 274.6 kB / 416.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008409/0.3069, allocations: 0.6381 MB / 416.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3069, allocations: 0 / 416.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3069, allocations: 0 / 416.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.3069, allocations: 4 kB / 416.9 MB, free: 9.992 MB / 334.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.001606/0.3086, allocations: 0.8111 MB / 417.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3086, allocations: 12.03 kB / 417.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.3089, allocations: 64.59 kB / 417.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.3094, allocations: 392.9 kB / 418.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3094, allocations: 29.38 kB / 418.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.3095, allocations: 48.38 kB / 418.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.3103, allocations: 461.5 kB / 418.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3103, allocations: 0 / 418.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.3104, allocations: 23.98 kB / 418.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3104, allocations: 12 kB / 418.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.311, allocations: 315.8 kB / 419 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.3137, allocations: 1.86 MB / 420.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.3146, allocations: 0.6051 MB / 421.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.3152, allocations: 273.4 kB / 421.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3152, allocations: 8.328 kB / 421.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.3157, allocations: 273.1 kB / 422 MB, free: 4.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.3157, allocations: 0 / 422 MB, free: 4.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.00233/0.3181, allocations: 0.8385 MB / 422.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.3181, allocations: 89.11 kB / 422.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.3186, allocations: 320.5 kB / 423.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3186, allocations: 33.7 kB / 423.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3188, allocations: 228.7 kB / 423.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3189, allocations: 150.7 kB / 423.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.319, allocations: 86.2 kB / 423.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3192, allocations: 354.7 kB / 424.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3194, allocations: 125 kB / 424.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.3197, allocations: 253 kB / 424.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.3203, allocations: 379 kB / 424.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3203, allocations: 4 kB / 424.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008739/0.3212, allocations: 0.505 MB / 425.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3212, allocations: 11.98 kB / 425.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3212, allocations: 4.516 kB / 425.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.3218, allocations: 160.6 kB / 425.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.322, allocations: 63.91 kB / 425.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.3249, allocations: 2.549 MB / 428.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3252, allocations: 39.73 kB / 428.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3253, allocations: 16 kB / 428.2 MB, free: 14.05 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002752/0.3255, allocations: 181.7 kB / 428.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.3256, allocations: 39.77 kB / 428.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3258, allocations: 56.34 kB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.3258, allocations: 4 kB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3258, allocations: 0 / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3258, allocations: 0 / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.3273, allocations: 1.028 MB / 429.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3273, allocations: 4.031 kB / 429.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3275, allocations: 39.92 kB / 429.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.3279, allocations: 140.8 kB / 429.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.328, allocations: 11.98 kB / 429.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.3307, allocations: 2.536 MB / 432.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3307, allocations: 0 / 432.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3318, allocations: 0.7177 MB / 432.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.332, allocations: 168.7 kB / 433.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.3321, allocations: 12 kB / 433.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3323, allocations: 11.98 kB / 433.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.3324, allocations: 35.95 kB / 433.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3324, allocations: 8 kB / 433.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.3326, allocations: 231 kB / 433.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3326, allocations: 4 kB / 433.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000616/0.3333, allocations: 147.8 kB / 433.5 MB, free: 8.441 MB / 350.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001688/0.3334, allocations: 119.4 kB / 433.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.3344, allocations: 0.5447 MB / 434.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3344, allocations: 4 kB / 434.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.3349, allocations: 374.3 kB / 434.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.3355, allocations: 86.47 kB / 434.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3372, allocations: 0.891 MB / 435.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3376, allocations: 0.824 MB / 436.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3378, allocations: 47.33 kB / 436.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.3379, allocations: 27.44 kB / 436.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3379, allocations: 4 kB / 436.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.01252/0.3504, allocations: 7.073 MB / 443.5 MB, free: 14.51 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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) 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.0.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) Reference file matches