Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 223.1 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 93.08 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003501, allocations: 11.98 kB / 328.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.4439, allocations: 84.63 MB / 460.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.4443, allocations: 83.95 kB / 460.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05294/0.4973, allocations: 20.41 MB / 481 MB, free: 7.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4973, allocations: 0 / 481 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.449e-05/0.4974, allocations: 31.94 kB / 481 MB, free: 7.332 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002663/0.5001, allocations: 1.423 MB / 482.4 MB, free: 5.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5001, allocations: 8.031 kB / 482.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.5004, allocations: 142.3 kB / 482.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.5045, allocations: 1.675 MB / 484.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.5046, allocations: 74 kB / 484.3 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.5048, allocations: 95.94 kB / 484.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.5071, allocations: 1.427 MB / 485.8 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.5071, allocations: 7.938 kB / 485.8 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5073, allocations: 36 kB / 485.9 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.5073, allocations: 45.98 kB / 485.9 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.5093, allocations: 1.226 MB / 487.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006545/0.5159, allocations: 4.344 MB / 491.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.5179, allocations: 1.985 MB / 493.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.518, allocations: 8.656 kB / 493.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.5189, allocations: 0.5937 MB / 494.1 MB, free: 9.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.336e-06/0.519, allocations: 3.938 kB / 494.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00686/0.5258, allocations: 2.727 MB / 496.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.526, allocations: 115.5 kB / 496.9 MB, free: 6.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5271, allocations: 0.7301 MB / 497.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.5272, allocations: 45.69 kB / 497.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.5277, allocations: 491.8 kB / 498.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.528, allocations: 244.5 kB / 498.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.528, allocations: 12 kB / 498.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5282, allocations: 390.8 kB / 498.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.5289, allocations: 401.7 kB / 499.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.5296, allocations: 0.5446 MB / 499.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.5304, allocations: 446.2 kB / 0.4884 GB, free: 3.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.5304, allocations: 4 kB / 0.4884 GB, free: 3.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002292/0.5327, allocations: 1.295 MB / 0.4897 GB, free: 2.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.5327, allocations: 12 kB / 0.4897 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5328, allocations: 4 kB / 0.4897 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.5339, allocations: 472.2 kB / 0.4902 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.5343, allocations: 95.83 kB / 0.4903 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2108/0.7451, allocations: 5.277 MB / 0.4954 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.746, allocations: 85.02 kB / 0.4955 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.746, allocations: 26.77 kB / 0.4955 GB, free: 101.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0009072/0.747, allocations: 465 kB / 0.496 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.7471, allocations: 83.66 kB / 0.4961 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.7474, allocations: 114 kB / 0.4962 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.7474, allocations: 7.375 kB / 0.4962 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7474, allocations: 0 / 0.4962 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.7474, allocations: 10.17 kB / 0.4962 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.7514, allocations: 2.623 MB / 0.4987 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7515, allocations: 0 / 0.4987 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.7518, allocations: 67.45 kB / 0.4988 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009545/0.7527, allocations: 463.3 kB / 0.4992 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.7528, allocations: 13.81 kB / 0.4993 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/0.7596, allocations: 5.283 MB / 0.5044 GB, free: 98.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7596, allocations: 0 / 0.5044 GB, free: 98.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.7621, allocations: 1.93 MB / 0.5063 GB, free: 97.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.7626, allocations: 272.2 kB / 0.5066 GB, free: 97.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.7628, allocations: 15.44 kB / 0.5066 GB, free: 97.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.7631, allocations: 49.02 kB / 0.5066 GB, free: 97.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7633, allocations: 72.56 kB / 0.5067 GB, free: 97.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.7634, allocations: 22.38 kB / 0.5067 GB, free: 97.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006816/0.7641, allocations: 0.5903 MB / 0.5073 GB, free: 96.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7641, allocations: 0 / 0.5073 GB, free: 96.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001009/0.7651, allocations: 351.3 kB / 0.5076 GB, free: 96.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.7653, allocations: 123.8 kB / 0.5077 GB, free: 96.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.7672, allocations: 1.282 MB / 0.509 GB, free: 96.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7672, allocations: 2.844 kB / 0.509 GB, free: 96.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7682, allocations: 0.8302 MB / 0.5098 GB, free: 95.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.7692, allocations: 244.8 kB / 0.51 GB, free: 95.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.773, allocations: 2.663 MB / 0.5126 GB, free: 94.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/0.7738, allocations: 1.348 MB / 0.514 GB, free: 93.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.7742, allocations: 137.7 kB / 0.5141 GB, free: 93.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7743, allocations: 49.56 kB / 0.5141 GB, free: 93.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7744, allocations: 3.781 kB / 0.5141 GB, free: 93.58 MB / 378.7 MB Notification: Performance of Templates: time 0.02195/0.7963, allocations: 17.81 MB / 0.5315 GB, free: 82.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches