Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002427/0.002427, allocations: 164.6 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 61.05 kB / 325.5 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006704/0.1307, allocations: 4.35 MB / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.1338, allocations: 1.324 MB / 384.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.1343, allocations: 39.69 kB / 384.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.135, allocations: 230.4 kB / 384.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009119/0.1359, allocations: 366 kB / 385.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.1364, allocations: 231.6 kB / 385.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1381, allocations: 1.561 MB / 387 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008025/0.1389, allocations: 0.5438 MB / 387.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008343/0.1397, allocations: 0.6659 MB / 388.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.141, allocations: 0.7782 MB / 389 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.1412, allocations: 164 kB / 389.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1416, allocations: 168 kB / 389.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004697/0.142, allocations: 450.7 kB / 389.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.1428, allocations: 0.5874 MB / 390.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.1452, allocations: 2.125 MB / 392.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1452, allocations: 0 / 392.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1452, allocations: 0 / 392.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.1453, allocations: 0 / 392.5 MB, free: 1.887 MB / 350.1 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.003689/0.1489, allocations: 1.9 MB / 394.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.149, allocations: 15.98 kB / 394.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.1495, allocations: 172 kB / 394.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1512, allocations: 0.9086 MB / 395.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.1512, allocations: 78.36 kB / 395.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.1514, allocations: 104.1 kB / 395.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.154, allocations: 1.493 MB / 397.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.154, allocations: 0 / 397.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.1541, allocations: 40 kB / 397.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/0.1542, allocations: 45.98 kB / 397.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.1567, allocations: 1.288 MB / 398.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009457/0.1662, allocations: 3.784 MB / 402.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.1686, allocations: 1.002 MB / 403.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.1703, allocations: 0.6771 MB / 404 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.1703, allocations: 12.59 kB / 404 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.1717, allocations: 0.64 MB / 404.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.917e-06/0.1717, allocations: 4 kB / 404.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.01174/0.1835, allocations: 2.747 MB / 407.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1836, allocations: 119.4 kB / 407.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.1854, allocations: 0.8089 MB / 408.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.1855, allocations: 37.7 kB / 408.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.1862, allocations: 0.5007 MB / 408.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.1865, allocations: 253.9 kB / 409.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.1869, allocations: 134.7 kB / 409.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002803/0.1872, allocations: 390.7 kB / 409.6 MB, free: 456 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/0.188, allocations: 405.7 kB / 410 MB, free: 52 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1892, allocations: 0.5919 MB / 410.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.1911, allocations: 0.9132 MB / 411.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.1912, allocations: 4 kB / 411.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003203/0.1944, allocations: 1.282 MB / 412.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1944, allocations: 8.031 kB / 412.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.1944, allocations: 8 kB / 412.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.196, allocations: 468.9 kB / 413.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.1965, allocations: 99.83 kB / 413.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.2073, allocations: 5.368 MB / 418.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.208, allocations: 83.58 kB / 418.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.2081, allocations: 31.98 kB / 418.8 MB, free: 6.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_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 (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007676/0.2088, allocations: 455.5 kB / 419.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.209, allocations: 95.38 kB / 419.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2092, allocations: 120.4 kB / 419.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2092, allocations: 4 kB / 419.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2092, allocations: 4 kB / 419.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2092, allocations: 3.984 kB / 419.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.2134, allocations: 2.294 MB / 421.8 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2134, allocations: 0 / 421.8 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2137, allocations: 59.91 kB / 421.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.2147, allocations: 472.3 kB / 422.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.2147, allocations: 16 kB / 422.3 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00764/0.2224, allocations: 5.317 MB / 427.7 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2224, allocations: 3.938 kB / 427.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.2254, allocations: 1.902 MB / 429.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.2259, allocations: 203.2 kB / 429.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.226, allocations: 15.98 kB / 429.8 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.2265, allocations: 43.89 kB / 429.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.2267, allocations: 72.52 kB / 429.9 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.2267, allocations: 23.98 kB / 429.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008258/0.2275, allocations: 0.5732 MB / 430.5 MB, free: 11.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2275, allocations: 0 / 430.5 MB, free: 11.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001046/0.2286, allocations: 355.2 kB / 430.8 MB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.2288, allocations: 123.3 kB / 431 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.231, allocations: 1.255 MB / 432.2 MB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.231, allocations: 4 kB / 432.2 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.2323, allocations: 0.7977 MB / 433 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2334, allocations: 246.7 kB / 433.3 MB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.2381, allocations: 2.384 MB / 435.6 MB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009604/0.2391, allocations: 0.7342 MB / 436.4 MB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.2395, allocations: 147.1 kB / 436.5 MB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2397, allocations: 56.5 kB / 436.6 MB, free: 4.953 MB / 398.1 MB Notification: Performance of SimCode: time 1.153e-06/0.2397, allocations: 0 / 436.6 MB, free: 4.953 MB / 398.1 MB Notification: Performance of Templates: time 0.03273/0.2724, allocations: 18.58 MB / 455.2 MB, free: 2.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 5.169577943976037]