Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009964/0.0009963, allocations: 176.3 kB / 8.699 MB, free: 384 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.512/1.512, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0008208/0.0008207, allocations: 86.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.363e-05/1.366e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09663, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.4077, allocations: 80.31 MB / 443.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.408, allocations: 85.44 kB / 443.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.4266, allocations: 7.038 MB / 450.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4266, allocations: 0 / 450.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.4267, allocations: 12 kB / 450.5 MB, free: 9.406 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001216/0.4279, allocations: 0.6421 MB / 451.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.428, allocations: 11.97 kB / 451.2 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4281, allocations: 51.44 kB / 451.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4286, allocations: 368.3 kB / 451.6 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4286, allocations: 16 kB / 451.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.4287, allocations: 24 kB / 451.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004807/0.4292, allocations: 274.3 kB / 451.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.4298, allocations: 372.7 kB / 452.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.4298, allocations: 4 kB / 452.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.4299, allocations: 3 kB / 452.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4299, allocations: 12 kB / 452.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.4321, allocations: 1.771 MB / 454.1 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.4328, allocations: 0.5758 MB / 454.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.4331, allocations: 205.4 kB / 454.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4332, allocations: 4.328 kB / 454.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.4336, allocations: 251.5 kB / 455.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.4336, allocations: 0 / 455.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008048/0.4344, allocations: 409.8 kB / 455.5 MB, free: 5.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4345, allocations: 93.05 kB / 455.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.4348, allocations: 239.2 kB / 455.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.4348, allocations: 29.7 kB / 455.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.435, allocations: 211.1 kB / 456 MB, free: 4.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.75e-05/0.4351, allocations: 132.8 kB / 456.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4351, allocations: 0 / 456.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4352, allocations: 348.9 kB / 456.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4354, allocations: 99.56 kB / 456.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.4356, allocations: 224.9 kB / 456.8 MB, free: 3.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4358, allocations: 127 kB / 457 MB, free: 3.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4359, allocations: 4 kB / 457 MB, free: 3.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00068/0.4365, allocations: 441.6 kB / 457.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4366, allocations: 7.938 kB / 457.4 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4366, allocations: 8 kB / 457.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.437, allocations: 145 kB / 457.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.4373, allocations: 62.91 kB / 457.6 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.4396, allocations: 2.218 MB / 459.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4399, allocations: 31.67 kB / 459.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.4399, allocations: 19.38 kB / 459.9 MB, free: 1.355 MB / 330.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.44, allocations: 124.1 kB / 460 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.4401, allocations: 39.61 kB / 460 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.4402, allocations: 36.36 kB / 460.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4402, allocations: 4 kB / 460.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4402, allocations: 3.984 kB / 460.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4402, allocations: 0 / 460.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.4414, allocations: 0.8929 MB / 461 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4414, allocations: 0 / 461 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.4416, allocations: 35.3 kB / 461 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/0.4419, allocations: 134.8 kB / 461.1 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.442, allocations: 7.25 kB / 461.1 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.4441, allocations: 2.21 MB / 463.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4441, allocations: 0 / 463.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.4449, allocations: 0.6529 MB / 464 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4451, allocations: 158.9 kB / 464.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.4452, allocations: 4 kB / 464.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4454, allocations: 11.56 kB / 464.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.4455, allocations: 38.39 kB / 464.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.4455, allocations: 11.25 kB / 464.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4457, allocations: 199.5 kB / 464.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4457, allocations: 0 / 464.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000554/0.4462, allocations: 123.7 kB / 464.5 MB, free: 13.45 MB / 346.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.4464, allocations: 107.2 kB / 464.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4471, allocations: 491 kB / 465.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4471, allocations: 0 / 465.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.4476, allocations: 345.1 kB / 465.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.4479, allocations: 52.06 kB / 465.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.4491, allocations: 0.5673 MB / 466.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4495, allocations: 0.8357 MB / 466.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.4496, allocations: 39.53 kB / 467 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.4497, allocations: 27.44 kB / 467 MB, free: 11.2 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4497, allocations: 3.938 kB / 467 MB, free: 11.2 MB / 346.7 MB Notification: Performance of Templates: time 0.009849/0.4595, allocations: 5.477 MB / 472.5 MB, free: 5.734 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches