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.001421/0.001421, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 86.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.092e-05, allocations: 0 / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 47.56 MB / 362.4 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4683, allocations: 83.87 MB / 446.2 MB, free: 2.43 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.4688, allocations: 94.7 kB / 446.3 MB, free: 2.34 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08698/0.5557, allocations: 20.23 MB / 466.5 MB, free: 14.04 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5558, allocations: 0 / 466.5 MB, free: 14.04 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.556, allocations: 31.94 kB / 466.6 MB, free: 14 MB / 363.1 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.004632/0.5606, allocations: 1.28 MB / 467.9 MB, free: 12.68 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5607, allocations: 12.03 kB / 467.9 MB, free: 12.66 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006594/0.5614, allocations: 134.4 kB / 468 MB, free: 12.53 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007028/0.5684, allocations: 1.659 MB / 469.7 MB, free: 10.83 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.5685, allocations: 28 kB / 469.7 MB, free: 10.8 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.5688, allocations: 56 kB / 469.7 MB, free: 10.75 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003408/0.5723, allocations: 1.124 MB / 470.9 MB, free: 9.621 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.5759, allocations: 1.251 MB / 472.1 MB, free: 8.312 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.576, allocations: 3.938 kB / 472.1 MB, free: 8.309 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5762, allocations: 4 kB / 472.1 MB, free: 8.305 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/0.5763, allocations: 41.98 kB / 472.2 MB, free: 8.262 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5879, allocations: 4.161 MB / 476.3 MB, free: 4.016 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.5913, allocations: 1.908 MB / 478.2 MB, free: 1.891 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.5929, allocations: 0.6008 MB / 478.8 MB, free: 1.289 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.593, allocations: 8.781 kB / 478.8 MB, free: 1.281 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.5943, allocations: 0.559 MB / 479.4 MB, free: 0.6992 MB / 363.1 MB Notification: Performance of pre-optimization done (n=75): time 4.158e-06/0.5944, allocations: 0 / 479.4 MB, free: 0.6992 MB / 363.1 MB Notification: Performance of matching and sorting (n=75): time 0.003398/0.5978, allocations: 1.163 MB / 480.6 MB, free: 15.52 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5979, allocations: 115.6 kB / 480.7 MB, free: 15.39 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.5995, allocations: 0.6521 MB / 481.3 MB, free: 14.73 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.5997, allocations: 25.7 kB / 481.4 MB, free: 14.7 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000661/0.6004, allocations: 498.2 kB / 481.8 MB, free: 14.2 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.6008, allocations: 228.6 kB / 482.1 MB, free: 13.98 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.6009, allocations: 0 / 482.1 MB, free: 13.98 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6011, allocations: 338.8 kB / 482.4 MB, free: 13.64 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/0.602, allocations: 357.4 kB / 482.7 MB, free: 13.29 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6031, allocations: 0.4942 MB / 483.2 MB, free: 12.74 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.6041, allocations: 409.8 kB / 483.6 MB, free: 12.34 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.6041, allocations: 4 kB / 483.6 MB, free: 12.34 MB / 379.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002952/0.6071, allocations: 1.12 MB / 484.8 MB, free: 11.21 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.6072, allocations: 4.438 kB / 484.8 MB, free: 11.2 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6072, allocations: 8 kB / 484.8 MB, free: 11.2 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.6091, allocations: 452.4 kB / 485.2 MB, free: 10.75 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.6099, allocations: 99.83 kB / 485.3 MB, free: 10.65 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.6212, allocations: 4.973 MB / 490.3 MB, free: 5.559 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009854/0.6222, allocations: 59.5 kB / 490.3 MB, free: 5.5 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.6223, allocations: 32.05 kB / 490.4 MB, free: 5.469 MB / 379.1 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.0002701/0.6226, allocations: 126.6 kB / 490.5 MB, free: 5.34 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.6228, allocations: 82.97 kB / 490.6 MB, free: 5.258 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.6232, allocations: 108.5 kB / 490.7 MB, free: 5.145 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.6232, allocations: 8 kB / 490.7 MB, free: 5.137 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6232, allocations: 0 / 490.7 MB, free: 5.137 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.6233, allocations: 3.984 kB / 490.7 MB, free: 5.133 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.6297, allocations: 2.385 MB / 493.1 MB, free: 2.691 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.6297, allocations: 0 / 493.1 MB, free: 2.691 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.6304, allocations: 63.86 kB / 493.1 MB, free: 2.629 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.6321, allocations: 453.1 kB / 493.6 MB, free: 2.184 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/0.6322, allocations: 8.109 kB / 493.6 MB, free: 2.176 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.6431, allocations: 4.946 MB / 498.5 MB, free: 13.11 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.6432, allocations: 0 / 498.5 MB, free: 13.11 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.6475, allocations: 1.791 MB / 0.4886 GB, free: 11.3 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/0.6484, allocations: 267.9 kB / 0.4889 GB, free: 11.02 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6486, allocations: 4 kB / 0.4889 GB, free: 11.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/0.6494, allocations: 35.91 kB / 0.4889 GB, free: 10.98 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.6498, allocations: 72.66 kB / 0.489 GB, free: 10.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.6499, allocations: 20 kB / 0.489 GB, free: 10.89 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.651, allocations: 0.5186 MB / 0.4895 GB, free: 10.38 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.651, allocations: 0 / 0.4895 GB, free: 10.38 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001736/0.6528, allocations: 318.9 kB / 0.4898 GB, free: 10.07 MB / 395.1 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.0003421/0.6531, allocations: 124.9 kB / 0.4899 GB, free: 9.934 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003201/0.6564, allocations: 1.165 MB / 0.4911 GB, free: 8.758 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.6564, allocations: 0.875 kB / 0.4911 GB, free: 8.758 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.6585, allocations: 0.7585 MB / 0.4918 GB, free: 7.984 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.6604, allocations: 208.6 kB / 0.492 GB, free: 7.789 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.6661, allocations: 1.762 MB / 0.4937 GB, free: 5.996 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.6676, allocations: 1.319 MB / 0.495 GB, free: 4.648 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.668, allocations: 55.44 kB / 0.4951 GB, free: 4.598 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/0.668, allocations: 0 / 0.4951 GB, free: 4.598 MB / 395.1 MB Notification: Performance of Templates: time 0.3075/0.9755, allocations: 19.26 MB / 0.5139 GB, free: 113.7 MB / 395.1 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