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.002312/0.002312, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001136/0.001135, allocations: 92.41 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 12 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3394, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4772, allocations: 84.63 MB / 459.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.4776, allocations: 87.95 kB / 459.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08417/0.5618, allocations: 20.4 MB / 479.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.82e-06/0.5618, allocations: 0 / 479.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.562, allocations: 35.88 kB / 479.7 MB, free: 7.414 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.004636/0.5666, allocations: 1.419 MB / 481.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.5667, allocations: 12.02 kB / 481.1 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.5672, allocations: 150.3 kB / 481.3 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007059/0.5743, allocations: 1.671 MB / 483 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.777e-05/0.5744, allocations: 73.94 kB / 483 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.5747, allocations: 99.94 kB / 483.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/0.579, allocations: 1.423 MB / 484.5 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.5791, allocations: 3.938 kB / 484.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.5793, allocations: 47.98 kB / 484.6 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.868e-05/0.5794, allocations: 41.98 kB / 484.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.5833, allocations: 1.23 MB / 485.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.5952, allocations: 4.341 MB / 490.2 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.5986, allocations: 1.974 MB / 492.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.5988, allocations: 8.656 kB / 492.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/0.6004, allocations: 0.5976 MB / 492.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.436e-06/0.6004, allocations: 0 / 492.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.01293/0.6133, allocations: 2.731 MB / 495.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.6135, allocations: 115.5 kB / 495.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.6152, allocations: 0.734 MB / 496.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.6154, allocations: 41.7 kB / 496.4 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.616, allocations: 498.2 kB / 496.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000351/0.6164, allocations: 248.5 kB / 497.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.6165, allocations: 8 kB / 497.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6167, allocations: 338.8 kB / 497.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.6178, allocations: 401.7 kB / 497.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.6191, allocations: 0.5407 MB / 498.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.6203, allocations: 450.2 kB / 498.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.6203, allocations: 4 kB / 498.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003504/0.6238, allocations: 1.237 MB / 0.4884 GB, free: 2.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6239, allocations: 8 kB / 0.4884 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.6239, allocations: 4 kB / 0.4884 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.6259, allocations: 476.3 kB / 0.4888 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.6266, allocations: 95.83 kB / 0.4889 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2957/0.9223, allocations: 5.28 MB / 0.4941 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9234, allocations: 84.45 kB / 0.4942 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.9236, allocations: 36.44 kB / 0.4942 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.00113/0.9247, allocations: 458.7 kB / 0.4946 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.925, allocations: 84.66 kB / 0.4947 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.9254, allocations: 112.8 kB / 0.4948 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.9254, allocations: 11.53 kB / 0.4948 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9254, allocations: 0 / 0.4948 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.9254, allocations: 3.656 kB / 0.4948 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/0.9321, allocations: 2.624 MB / 0.4974 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.9322, allocations: 1.375 kB / 0.4974 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.9328, allocations: 71.72 kB / 0.4975 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.9346, allocations: 466.1 kB / 0.4979 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.9348, allocations: 13.88 kB / 0.4979 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.9458, allocations: 5.277 MB / 0.5031 GB, free: 98.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9458, allocations: 0 / 0.5031 GB, free: 98.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/0.9504, allocations: 1.931 MB / 0.505 GB, free: 97.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.9512, allocations: 271.3 kB / 0.5052 GB, free: 97.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.9514, allocations: 15.78 kB / 0.5052 GB, free: 97.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.9522, allocations: 45.5 kB / 0.5053 GB, free: 97.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.9525, allocations: 79.02 kB / 0.5054 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/0.9526, allocations: 18.34 kB / 0.5054 GB, free: 97.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.9537, allocations: 0.5818 MB / 0.5059 GB, free: 96.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9537, allocations: 0 / 0.5059 GB, free: 96.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001579/0.9553, allocations: 350.6 kB / 0.5063 GB, free: 96.93 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.0002777/0.9556, allocations: 132 kB / 0.5064 GB, free: 96.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.9589, allocations: 1.287 MB / 0.5077 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.959, allocations: 2.438 kB / 0.5077 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.9611, allocations: 0.8284 MB / 0.5085 GB, free: 95.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.9632, allocations: 246.6 kB / 0.5087 GB, free: 95.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.9695, allocations: 2.67 MB / 0.5113 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9706, allocations: 1.318 MB / 0.5126 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.971, allocations: 53.38 kB / 0.5127 GB, free: 93.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.971, allocations: 0 / 0.5127 GB, free: 93.65 MB / 378.7 MB Notification: Performance of Templates: time 0.03555/1.007, allocations: 19.73 MB / 0.5319 GB, free: 80.66 MB / 378.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