Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.112e-05, allocations: 6.25 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006031/0.006063, allocations: 3.66 MB / 271 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.007952, allocations: 0.9037 MB / 271.9 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.008142, allocations: 7.938 kB / 271.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.008386, allocations: 83.16 kB / 272 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.008759, allocations: 150.6 kB / 272.1 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.009125, allocations: 175.6 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000743/0.009868, allocations: 0.6301 MB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.01019, allocations: 140.6 kB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.01065, allocations: 343.3 kB / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.01121, allocations: 191.5 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.513e-05/0.01131, allocations: 56 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.01141, allocations: 56 kB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.01155, allocations: 123.5 kB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.01181, allocations: 191.5 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.01262, allocations: 0.6464 MB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.01262, allocations: 4 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01262, allocations: 0 / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01263, allocations: 0 / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001764/0.0144, allocations: 1.057 MB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01443, allocations: 8.922 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.0146, allocations: 88.61 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.01515, allocations: 329.2 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.01519, allocations: 29.38 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.01527, allocations: 48.38 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.01617, allocations: 0.4968 MB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.0162, allocations: 4.172 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.01625, allocations: 23.92 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01626, allocations: 8 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.0169, allocations: 299.8 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.01986, allocations: 2.042 MB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.02064, allocations: 380.1 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/0.0213, allocations: 263 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.02134, allocations: 12.33 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.02189, allocations: 314.1 kB / 280 MB, free: 9.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.343e-06/0.02189, allocations: 0 / 280 MB, free: 9.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002751/0.02464, allocations: 0.7788 MB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.02472, allocations: 89.05 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.0252, allocations: 406.3 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.02524, allocations: 37.7 kB / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.02548, allocations: 280 kB / 281.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.02563, allocations: 158.8 kB / 281.8 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.0258, allocations: 103.8 kB / 281.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003338/0.02613, allocations: 0.5352 MB / 282.4 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.02637, allocations: 109 kB / 282.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.02681, allocations: 329 kB / 282.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.02751, allocations: 445.7 kB / 283.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02751, allocations: 4 kB / 283.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009944/0.02851, allocations: 0.5161 MB / 283.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02853, allocations: 10.98 kB / 283.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02854, allocations: 8 kB / 283.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.02905, allocations: 155.5 kB / 283.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.0293, allocations: 63.91 kB / 284 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.03314, allocations: 3.054 MB / 287.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.03339, allocations: 39.73 kB / 287.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.03342, allocations: 16 kB / 287.1 MB, free: 2.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.03369, allocations: 228.6 kB / 287.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.03378, allocations: 55.75 kB / 287.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.0339, allocations: 43.48 kB / 287.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.03391, allocations: 4 kB / 287.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.03391, allocations: 4 kB / 287.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.03392, allocations: 3.938 kB / 287.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.03583, allocations: 1.01 MB / 288.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03584, allocations: 0 / 288.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.03601, allocations: 35.98 kB / 288.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.03643, allocations: 143.7 kB / 288.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.03646, allocations: 12 kB / 288.6 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1013/0.1377, allocations: 3.035 MB / 291.7 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1377, allocations: 0 / 291.7 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1388, allocations: 0.7595 MB / 292.4 MB, free: 30.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.139, allocations: 77.09 kB / 292.5 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.139, allocations: 8.281 kB / 292.5 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1393, allocations: 15.19 kB / 292.5 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1394, allocations: 38.84 kB / 292.6 MB, free: 30.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1394, allocations: 10.58 kB / 292.6 MB, free: 30.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.1396, allocations: 269.6 kB / 292.9 MB, free: 29.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1396, allocations: 0 / 292.9 MB, free: 29.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000624/0.1403, allocations: 145 kB / 293 MB, free: 29.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.1404, allocations: 120.7 kB / 293.1 MB, free: 29.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009758/0.1414, allocations: 0.6091 MB / 293.7 MB, free: 29.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1414, allocations: 0 / 293.7 MB, free: 29.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.1419, allocations: 452 kB / 294.2 MB, free: 29.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1424, allocations: 78.89 kB / 294.2 MB, free: 29.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1438, allocations: 0.8596 MB / 295.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.144, allocations: 228.5 kB / 295.3 MB, free: 28.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1441, allocations: 33.36 kB / 295.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.1442, allocations: 34.75 kB / 295.4 MB, free: 28.58 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1442, allocations: 0.5938 kB / 295.4 MB, free: 28.58 MB / 266.7 MB Notification: Performance of Templates: time 0.01216/0.1564, allocations: 6.485 MB / 301.9 MB, free: 26.87 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.694388283067383]