Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 43.94 kB / 373.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1258, allocations: 53.34 MB / 426.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005487/0.1313, allocations: 3.768 MB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2007/0.332, allocations: 0.986 MB / 431.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.3324, allocations: 10.38 kB / 431.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3327, allocations: 80.64 kB / 431.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.333, allocations: 148.7 kB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3335, allocations: 180.6 kB / 432 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.3343, allocations: 0.6172 MB / 432.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.3347, allocations: 154.2 kB / 432.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.3351, allocations: 240.5 kB / 433 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.3354, allocations: 254 kB / 433.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.3355, allocations: 56.31 kB / 433.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3356, allocations: 61.19 kB / 433.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3357, allocations: 125.8 kB / 433.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.336, allocations: 271.9 kB / 433.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.3367, allocations: 0.6478 MB / 434.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3367, allocations: 2.25 kB / 434.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3367, allocations: 2.219 kB / 434.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3367, allocations: 0 / 434.4 MB, free: 7.617 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001331/0.338, allocations: 0.8069 MB / 435.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3381, allocations: 9.688 kB / 435.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.3383, allocations: 66.44 kB / 435.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.3388, allocations: 384.3 kB / 435.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.3388, allocations: 32.89 kB / 435.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.3389, allocations: 45.97 kB / 435.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.3397, allocations: 469.9 kB / 436.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3398, allocations: 2.156 kB / 436.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.3398, allocations: 17.23 kB / 436.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3398, allocations: 10.31 kB / 436.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.3405, allocations: 327.2 kB / 436.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.3429, allocations: 1.849 MB / 438.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.3436, allocations: 0.5718 MB / 439 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.3442, allocations: 246.5 kB / 439.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3442, allocations: 10.52 kB / 439.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.3447, allocations: 272.2 kB / 439.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.3447, allocations: 0 / 439.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002474/0.3472, allocations: 0.8349 MB / 440.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.3473, allocations: 89.16 kB / 440.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.3476, allocations: 323.3 kB / 440.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3477, allocations: 36.7 kB / 440.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3478, allocations: 222 kB / 441 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.3479, allocations: 143.9 kB / 441.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.348, allocations: 91.8 kB / 441.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.3481, allocations: 350.8 kB / 441.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3483, allocations: 119.5 kB / 441.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.3486, allocations: 252.6 kB / 441.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.3492, allocations: 375.9 kB / 442.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3492, allocations: 1.188 kB / 442.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009289/0.3501, allocations: 0.5021 MB / 442.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3501, allocations: 7.672 kB / 442.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3501, allocations: 3.906 kB / 442.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.3507, allocations: 158.5 kB / 442.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.351, allocations: 67.14 kB / 443 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.3536, allocations: 2.551 MB / 445.6 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.354, allocations: 46.11 kB / 445.6 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.354, allocations: 18.62 kB / 445.6 MB, free: 304 kB / 350.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: 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002334/0.3542, allocations: 182.4 kB / 445.8 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3543, allocations: 40.52 kB / 445.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.3544, allocations: 49.42 kB / 445.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3544, allocations: 3.906 kB / 445.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3544, allocations: 0 / 445.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3544, allocations: 7.547 kB / 445.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3562, allocations: 1.018 MB / 446.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3563, allocations: 0 / 446.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3564, allocations: 36.62 kB / 446.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.3569, allocations: 143.4 kB / 447.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.357, allocations: 11.44 kB / 447.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/0.3603, allocations: 2.536 MB / 449.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3603, allocations: 0 / 449.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3616, allocations: 0.7037 MB / 450.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.3618, allocations: 160 kB / 450.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.3619, allocations: 16.84 kB / 450.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3621, allocations: 16.8 kB / 450.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3622, allocations: 35.94 kB / 450.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3623, allocations: 15.78 kB / 450.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.3626, allocations: 227.3 kB / 450.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3626, allocations: 0 / 450.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.3633, allocations: 146.2 kB / 450.9 MB, free: 12.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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_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 (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.0002034/0.3635, allocations: 117.2 kB / 451.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3647, allocations: 0.5242 MB / 451.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3647, allocations: 1.312 kB / 451.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.3654, allocations: 365 kB / 451.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.3659, allocations: 89.45 kB / 452 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3677, allocations: 0.8839 MB / 452.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3682, allocations: 0.828 MB / 453.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.3684, allocations: 40.03 kB / 453.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.3684, allocations: 32.88 kB / 453.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3684, allocations: 0 / 453.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01547/0.3839, allocations: 7.144 MB / 461 MB, free: 8.609 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.033286783844233]