Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 91.97 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002529, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 50.39 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3224, allocations: 85.63 MB / 487.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.3227, allocations: 88.45 kB / 487.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05428/0.377, allocations: 20.8 MB / 0.4961 GB, free: 5.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3771, allocations: 0 / 0.4961 GB, free: 5.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.13e-05/0.3772, allocations: 28 kB / 0.4961 GB, free: 5.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002691/0.3799, allocations: 1.451 MB / 0.4976 GB, free: 4.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3799, allocations: 8.031 kB / 0.4976 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.3801, allocations: 138.4 kB / 0.4977 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.3842, allocations: 1.678 MB / 0.4993 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.3843, allocations: 81.94 kB / 0.4994 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3844, allocations: 99.98 kB / 0.4995 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.3867, allocations: 1.415 MB / 0.5009 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.3868, allocations: 11.78 kB / 0.5009 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3869, allocations: 40 kB / 0.5009 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/0.3869, allocations: 49.98 kB / 0.501 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1816/0.5685, allocations: 1.224 MB / 0.5022 GB, free: 91.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006864/0.5754, allocations: 4.353 MB / 0.5064 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.5775, allocations: 1.968 MB / 0.5084 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.5776, allocations: 11.48 kB / 0.5084 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.5783, allocations: 0.594 MB / 0.5089 GB, free: 89.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/0.5783, allocations: 3.844 kB / 0.509 GB, free: 89.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.005872/0.5842, allocations: 2.817 MB / 0.5117 GB, free: 88.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5843, allocations: 120.5 kB / 0.5118 GB, free: 88.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.5851, allocations: 0.7316 MB / 0.5125 GB, free: 88.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.5851, allocations: 41.27 kB / 0.5126 GB, free: 88.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.5854, allocations: 480.9 kB / 0.513 GB, free: 88.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.5855, allocations: 249.1 kB / 0.5133 GB, free: 88.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.5856, allocations: 8 kB / 0.5133 GB, free: 88.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5857, allocations: 399.3 kB / 0.5137 GB, free: 87.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.5862, allocations: 402.3 kB / 0.514 GB, free: 87.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.5867, allocations: 0.5336 MB / 0.5146 GB, free: 87.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.5872, allocations: 450.2 kB / 0.515 GB, free: 87.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5872, allocations: 0 / 0.515 GB, free: 87.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001568/0.5888, allocations: 1.3 MB / 0.5163 GB, free: 86.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5889, allocations: 9.438 kB / 0.5163 GB, free: 86.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5889, allocations: 3.938 kB / 0.5163 GB, free: 86.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.5898, allocations: 468.8 kB / 0.5167 GB, free: 86.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.5901, allocations: 93.38 kB / 0.5168 GB, free: 86.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005318/0.5954, allocations: 5.286 MB / 0.522 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.5961, allocations: 84.98 kB / 0.5221 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.5961, allocations: 23.75 kB / 0.5221 GB, free: 83.39 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0006276/0.5967, allocations: 469.5 kB / 0.5225 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5969, allocations: 90.89 kB / 0.5226 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.5971, allocations: 111.8 kB / 0.5227 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5971, allocations: 6.344 kB / 0.5227 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5971, allocations: 3.219 kB / 0.5227 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5971, allocations: 3.797 kB / 0.5227 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.6004, allocations: 2.635 MB / 0.5253 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6004, allocations: 0 / 0.5253 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6007, allocations: 63.58 kB / 0.5254 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/0.6015, allocations: 456.8 kB / 0.5258 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.6016, allocations: 21.53 kB / 0.5258 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/0.607, allocations: 5.251 MB / 0.5309 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.607, allocations: 0 / 0.5309 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.6093, allocations: 1.926 MB / 0.5328 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.6098, allocations: 268.6 kB / 0.5331 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.61, allocations: 19.14 kB / 0.5331 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.6105, allocations: 51.56 kB / 0.5332 GB, free: 75.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.6107, allocations: 68.27 kB / 0.5332 GB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.6108, allocations: 27.42 kB / 0.5332 GB, free: 75.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007172/0.6115, allocations: 0.5835 MB / 0.5338 GB, free: 75.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6115, allocations: 2.906 kB / 0.5338 GB, free: 75.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001011/0.6125, allocations: 343.6 kB / 0.5341 GB, free: 74.78 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001979/0.6127, allocations: 150.4 kB / 0.5343 GB, free: 74.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.6145, allocations: 1.275 MB / 0.5355 GB, free: 73.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6145, allocations: 4 kB / 0.5355 GB, free: 73.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6156, allocations: 0.8285 MB / 0.5363 GB, free: 72.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/0.6166, allocations: 252 kB / 0.5366 GB, free: 72.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.6202, allocations: 2.657 MB / 0.5392 GB, free: 70.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.621, allocations: 1.345 MB / 0.5405 GB, free: 69.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.6215, allocations: 143.2 kB / 0.5406 GB, free: 68.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6216, allocations: 55.42 kB / 0.5407 GB, free: 68.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.704e-06/0.6216, allocations: 0 / 0.5407 GB, free: 68.86 MB / 378.7 MB Notification: Performance of Templates: time 0.02464/0.6463, allocations: 17.81 MB / 0.5581 GB, free: 51.48 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches