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.00102/0.00102, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 90.69 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.623e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07572/0.07575, allocations: 47.59 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2798/0.3556, allocations: 84.1 MB / 447.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.3559, allocations: 87.06 kB / 447.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05024/0.4062, allocations: 20.24 MB / 467.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4062, allocations: 0 / 467.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.611e-05/0.4063, allocations: 31.94 kB / 467.5 MB, free: 10.78 MB / 346.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.002427/0.4088, allocations: 1.276 MB / 468.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4088, allocations: 8.031 kB / 468.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.4091, allocations: 142.4 kB / 469 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.4131, allocations: 1.659 MB / 470.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.4131, allocations: 35.98 kB / 470.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4133, allocations: 56 kB / 470.7 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/0.415, allocations: 1.124 MB / 471.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.4169, allocations: 1.253 MB / 473.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.417, allocations: 0 / 473.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.4171, allocations: 0 / 473.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.4171, allocations: 45.98 kB / 473.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.4228, allocations: 4.158 MB / 477.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.4244, allocations: 1.904 MB / 479.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.4252, allocations: 0.603 MB / 479.8 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.4252, allocations: 8.781 kB / 479.8 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007474/0.426, allocations: 0.559 MB / 480.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 2.435e-06/0.426, allocations: 0 / 480.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001779/0.4278, allocations: 1.152 MB / 481.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4279, allocations: 123.5 kB / 481.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.4287, allocations: 0.6521 MB / 482.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.4287, allocations: 29.7 kB / 482.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.4291, allocations: 483.7 kB / 482.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.4293, allocations: 228.6 kB / 483 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4294, allocations: 0 / 483 MB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4296, allocations: 386.8 kB / 483.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.43, allocations: 361.4 kB / 483.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.4306, allocations: 0.4942 MB / 484.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.4311, allocations: 413.8 kB / 484.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4311, allocations: 0 / 484.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001648/0.4328, allocations: 1.17 MB / 485.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4328, allocations: 8.438 kB / 485.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4328, allocations: 8 kB / 485.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/0.4338, allocations: 448.4 kB / 486.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.4342, allocations: 99.83 kB / 486.4 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/0.4401, allocations: 4.965 MB / 491.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.4407, allocations: 63.48 kB / 491.4 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.4408, allocations: 28.05 kB / 491.4 MB, free: 4.48 MB / 362.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 () * 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.000183/0.441, allocations: 138.5 kB / 491.6 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.4411, allocations: 86.97 kB / 491.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.4414, allocations: 104.4 kB / 491.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4414, allocations: 8 kB / 491.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4414, allocations: 0 / 491.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4415, allocations: 3.984 kB / 491.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.4448, allocations: 2.374 MB / 494.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4448, allocations: 0 / 494.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.4451, allocations: 67.86 kB / 494.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/0.446, allocations: 457.1 kB / 494.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.446, allocations: 4 kB / 494.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/0.4516, allocations: 4.95 MB / 499.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4516, allocations: 0 / 499.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.4539, allocations: 1.791 MB / 0.4896 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.4543, allocations: 267.9 kB / 0.4899 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4544, allocations: 0 / 0.4899 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.4548, allocations: 35.91 kB / 0.4899 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.455, allocations: 72.67 kB / 0.49 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.4551, allocations: 27.98 kB / 0.49 GB, free: 9.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006787/0.4557, allocations: 0.5108 MB / 0.4905 GB, free: 9.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4558, allocations: 0 / 0.4905 GB, free: 9.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009587/0.4567, allocations: 315 kB / 0.4908 GB, free: 9.078 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) * 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.0001986/0.4569, allocations: 119 kB / 0.4909 GB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4586, allocations: 1.166 MB / 0.4921 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4587, allocations: 0.875 kB / 0.4921 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.4597, allocations: 0.7583 MB / 0.4928 GB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.4607, allocations: 216 kB / 0.493 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.4639, allocations: 1.748 MB / 0.4947 GB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009095/0.4648, allocations: 1.341 MB / 0.496 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.4652, allocations: 146.8 kB / 0.4962 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.4653, allocations: 47.44 kB / 0.4962 GB, free: 3.457 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4653, allocations: 0 / 0.4962 GB, free: 3.457 MB / 378.7 MB Notification: Performance of Templates: time 0.02554/0.4908, allocations: 15.74 MB / 0.5116 GB, free: 3.695 MB / 394.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