Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002217/0.002217, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001085/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.586e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09321, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5004, allocations: 84.52 MB / 453.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.5008, allocations: 92.88 kB / 453.7 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.6023, allocations: 20.44 MB / 474.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.08e-06/0.6023, allocations: 3.984 kB / 474.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000138/0.6025, allocations: 35.92 kB / 474.2 MB, free: 5.973 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.004533/0.607, allocations: 1.28 MB / 475.5 MB, free: 4.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.6071, allocations: 8.031 kB / 475.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000647/0.6077, allocations: 146.4 kB / 475.6 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007037/0.6148, allocations: 1.659 MB / 477.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.615, allocations: 73.98 kB / 477.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.6153, allocations: 96 kB / 477.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/0.6193, allocations: 1.392 MB / 478.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.6194, allocations: 4 kB / 478.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.6196, allocations: 43.98 kB / 478.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-05/0.6197, allocations: 41.98 kB / 478.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.6231, allocations: 1.175 MB / 480.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.6339, allocations: 4.336 MB / 484.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.6369, allocations: 1.941 MB / 486.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.6389, allocations: 0.7279 MB / 487.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/0.639, allocations: 16.72 kB / 487.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.6405, allocations: 0.5762 MB / 487.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 3.666e-06/0.6405, allocations: 0 / 487.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.003542/0.6441, allocations: 1.218 MB / 488.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.6442, allocations: 111.6 kB / 489 MB, free: 6.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.6459, allocations: 0.7302 MB / 489.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.6462, allocations: 41.7 kB / 489.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/0.6467, allocations: 498.3 kB / 490.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.6472, allocations: 240.5 kB / 490.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.6473, allocations: 16 kB / 490.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6474, allocations: 346.8 kB / 490.9 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/0.6484, allocations: 373.4 kB / 491.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.6496, allocations: 0.5191 MB / 491.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6506, allocations: 415 kB / 492.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.6507, allocations: 0 / 492.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003131/0.6538, allocations: 1.198 MB / 493.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.6539, allocations: 7.953 kB / 493.4 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.6539, allocations: 4 kB / 493.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.6558, allocations: 472.6 kB / 493.8 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.6566, allocations: 91.89 kB / 493.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.6681, allocations: 5.084 MB / 499 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6692, allocations: 95.34 kB / 499.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/0.6693, allocations: 24 kB / 499.1 MB, free: 12.27 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 () * 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.0002871/0.6696, allocations: 154.6 kB / 499.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.6698, allocations: 86.91 kB / 499.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.6702, allocations: 112.6 kB / 499.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.6703, allocations: 12 kB / 499.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6703, allocations: 128 / 499.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6703, allocations: 3.984 kB / 499.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.6772, allocations: 2.588 MB / 0.4903 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6772, allocations: 0 / 0.4903 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.6779, allocations: 67.91 kB / 0.4904 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.6798, allocations: 456.7 kB / 0.4908 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.6799, allocations: 16 kB / 0.4908 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.6908, allocations: 5.04 MB / 0.4957 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6909, allocations: 0 / 0.4957 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.6954, allocations: 1.861 MB / 0.4976 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008323/0.6963, allocations: 279.8 kB / 0.4978 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.6965, allocations: 19.94 kB / 0.4979 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.6973, allocations: 44.08 kB / 0.4979 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.6976, allocations: 80.66 kB / 0.498 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.6977, allocations: 20 kB / 0.498 GB, free: 1.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.699, allocations: 0.5772 MB / 0.4986 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.699, allocations: 0 / 0.4986 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001577/0.7006, allocations: 351 kB / 0.4989 GB, free: 280 kB / 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.000299/0.7009, allocations: 123.2 kB / 0.499 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.7043, allocations: 1.219 MB / 0.5002 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7044, allocations: 3.938 kB / 0.5002 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.7064, allocations: 0.7928 MB / 0.501 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.7085, allocations: 251.5 kB / 0.5012 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.7141, allocations: 1.801 MB / 0.503 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.7156, allocations: 1.315 MB / 0.5043 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.716, allocations: 51.42 kB / 0.5043 GB, free: 10.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.716, allocations: 8 kB / 0.5043 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Templates: time 0.0435/0.7595, allocations: 19.71 MB / 0.5236 GB, free: 6.875 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches