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.0009642/0.0009642, allocations: 80.41 kB / 22.21 MB, free: 2.281 MB / 18.57 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.0009667/0.0009667, allocations: 166.6 kB / 25.61 MB, free: 8.566 MB / 18.57 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 0.9258/0.9258, allocations: 177.1 MB / 206 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.182e-06/1.182e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.121e-05, allocations: 6.25 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003299/0.00331, allocations: 3.667 MB / 277.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004516, allocations: 0.9674 MB / 278.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.004667, allocations: 11.94 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.004822, allocations: 87.09 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.005046, allocations: 154.6 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.005305, allocations: 187.5 kB / 279.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.005727, allocations: 0.634 MB / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.005924, allocations: 140.6 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.006219, allocations: 359.1 kB / 280.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.006431, allocations: 195.4 kB / 280.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.006485, allocations: 56 kB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.006557, allocations: 64 kB / 280.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.006628, allocations: 123.5 kB / 280.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.006758, allocations: 191.5 kB / 281 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.007087, allocations: 418.5 kB / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.007089, allocations: 0 / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.007089, allocations: 0 / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.007094, allocations: 0 / 281.4 MB, free: 13.16 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.00087/0.007964, allocations: 0.9712 MB / 282.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.007993, allocations: 12.03 kB / 282.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.008142, allocations: 96.59 kB / 282.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.008428, allocations: 312.2 kB / 282.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.008451, allocations: 37.38 kB / 282.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.008496, allocations: 48.36 kB / 282.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.008835, allocations: 381.4 kB / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.00885, allocations: 192 / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.008877, allocations: 19.94 kB / 283.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.008887, allocations: 12 kB / 283.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.009058, allocations: 142.8 kB / 283.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01038, allocations: 1.793 MB / 285.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.0107, allocations: 272.3 kB / 285.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.01095, allocations: 190.2 kB / 285.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01097, allocations: 8.328 kB / 285.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.01118, allocations: 242.1 kB / 285.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.273e-06/0.01119, allocations: 0 / 285.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001075/0.01226, allocations: 0.5833 MB / 286.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.0123, allocations: 85.11 kB / 286.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.01248, allocations: 334.1 kB / 286.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.0125, allocations: 37.7 kB / 286.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01262, allocations: 280 kB / 287.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.01269, allocations: 146.8 kB / 287.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.01278, allocations: 95.75 kB / 287.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01291, allocations: 0.5156 MB / 288 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.01297, allocations: 48.95 kB / 288 MB, free: 6.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01312, allocations: 256.9 kB / 288.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.01335, allocations: 306.6 kB / 288.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01335, allocations: 4 kB / 288.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003737/0.01372, allocations: 372.3 kB / 288.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01374, allocations: 9.875 kB / 289 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01374, allocations: 4 kB / 289 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.01396, allocations: 104 kB / 289.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01409, allocations: 67.91 kB / 289.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.01562, allocations: 2.557 MB / 291.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01574, allocations: 39.73 kB / 291.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01576, allocations: 20 kB / 291.7 MB, free: 2.238 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.0001205/0.01588, allocations: 196.4 kB / 291.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01593, allocations: 59.7 kB / 292 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.01597, allocations: 48.3 kB / 292 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.01598, allocations: 4 kB / 292 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01598, allocations: 0 / 292 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.01598, allocations: 0 / 292 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.01664, allocations: 0.713 MB / 292.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01664, allocations: 0 / 292.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.01673, allocations: 39.92 kB / 292.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.01692, allocations: 114.3 kB / 292.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.01693, allocations: 11.94 kB / 292.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.0183, allocations: 2.543 MB / 295.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.0183, allocations: 3.984 kB / 295.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.01873, allocations: 0.5084 MB / 296 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.01882, allocations: 75.59 kB / 296 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01885, allocations: 12 kB / 296.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01895, allocations: 15.98 kB / 296.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.01901, allocations: 35.94 kB / 296.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01902, allocations: 15.98 kB / 296.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.654e-05/0.01912, allocations: 218.9 kB / 296.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01912, allocations: 3.938 kB / 296.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.01945, allocations: 143.8 kB / 296.5 MB, free: 13.3 MB / 282.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 8.636e-05/0.01954, allocations: 115.2 kB / 296.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.01998, allocations: 488.5 kB / 297.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01998, allocations: 0 / 297.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.02024, allocations: 370.9 kB / 297.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.02052, allocations: 89.16 kB / 297.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.02159, allocations: 0.8233 MB / 298.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.146e-05/0.02166, allocations: 122.3 kB / 298.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.02174, allocations: 35.28 kB / 298.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02188, allocations: 150.1 kB / 298.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02188, allocations: 4 kB / 298.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of Templates: time 0.00864/0.03052, allocations: 7.156 MB / 305.8 MB, free: 4.059 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.989785253070295]