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.001078/0.001078, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 59.89 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2677, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004974/0.2727, allocations: 3.747 MB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2747, allocations: 0.9893 MB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.2751, allocations: 11.94 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.2754, allocations: 79.22 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.2759, allocations: 146.7 kB / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.2764, allocations: 179.7 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.2771, allocations: 0.6148 MB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.2775, allocations: 224 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2778, allocations: 239.1 kB / 415.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.2781, allocations: 246.9 kB / 415.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.2782, allocations: 56 kB / 415.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2783, allocations: 56 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2784, allocations: 127.5 kB / 415.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.2787, allocations: 282.6 kB / 416.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.2794, allocations: 0.6398 MB / 416.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2794, allocations: 3.938 kB / 416.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2794, allocations: 0 / 416.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2794, allocations: 0 / 416.9 MB, free: 9.957 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.001331/0.2808, allocations: 0.7921 MB / 417.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2808, allocations: 12.03 kB / 417.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.281, allocations: 64.27 kB / 417.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.2815, allocations: 380.7 kB / 418.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2816, allocations: 37.38 kB / 418.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.2817, allocations: 44.38 kB / 418.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.2824, allocations: 461.5 kB / 418.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2824, allocations: 0 / 418.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2825, allocations: 16 kB / 418.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2825, allocations: 12 kB / 418.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.2831, allocations: 331.7 kB / 419 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.2856, allocations: 1.844 MB / 420.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.2864, allocations: 0.6129 MB / 421.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.287, allocations: 276.4 kB / 421.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.2871, allocations: 8.328 kB / 421.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005352/0.2876, allocations: 273.1 kB / 422 MB, free: 4.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.677e-06/0.2876, allocations: 3.984 kB / 422 MB, free: 4.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002203/0.2898, allocations: 0.8422 MB / 422.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2899, allocations: 85.09 kB / 422.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.2903, allocations: 324.4 kB / 423.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2903, allocations: 41.69 kB / 423.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2905, allocations: 220.2 kB / 423.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.2906, allocations: 138.1 kB / 423.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2907, allocations: 90.16 kB / 423.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2909, allocations: 350.7 kB / 424.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.2912, allocations: 121.1 kB / 424.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.2915, allocations: 249 kB / 424.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.2922, allocations: 379 kB / 424.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2922, allocations: 0 / 424.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008338/0.293, allocations: 0.5126 MB / 425.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.293, allocations: 8 kB / 425.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2931, allocations: 4 kB / 425.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004554/0.2935, allocations: 149.1 kB / 425.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2937, allocations: 71.84 kB / 425.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.2967, allocations: 2.538 MB / 428.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2969, allocations: 47.66 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.297, allocations: 20 kB / 428.1 MB, free: 14.06 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.0001997/0.2972, allocations: 169.7 kB / 428.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.2972, allocations: 43.52 kB / 428.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.2973, allocations: 52.48 kB / 428.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2973, allocations: 11.98 kB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2974, allocations: 4 kB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2974, allocations: 0 / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2989, allocations: 1.02 MB / 429.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2989, allocations: 4 kB / 429.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2991, allocations: 31.92 kB / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.2995, allocations: 148.7 kB / 429.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2995, allocations: 11.98 kB / 429.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.3021, allocations: 2.532 MB / 432.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3022, allocations: 0 / 432.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3032, allocations: 0.7135 MB / 432.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3034, allocations: 152.5 kB / 433 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.3034, allocations: 19.92 kB / 433 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3036, allocations: 12 kB / 433 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.3037, allocations: 43.88 kB / 433.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3038, allocations: 15.94 kB / 433.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.304, allocations: 223.1 kB / 433.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.304, allocations: 0 / 433.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005838/0.3046, allocations: 147.6 kB / 433.5 MB, free: 8.465 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.0001477/0.3047, allocations: 123.5 kB / 433.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008726/0.3056, allocations: 0.5376 MB / 434.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3056, allocations: 4.312 kB / 434.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.3062, allocations: 378.5 kB / 434.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3066, allocations: 93.31 kB / 434.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3082, allocations: 0.8726 MB / 435.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3085, allocations: 0.8279 MB / 436.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3087, allocations: 43.33 kB / 436.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.3087, allocations: 27.44 kB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3087, allocations: 0 / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01219/0.3209, allocations: 7.079 MB / 443.4 MB, free: 14.54 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