Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001099/0.001099, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006322/0.006322, allocations: 158.4 kB / 24.7 MB, free: 8.91 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.8668/0.8668, allocations: 177.1 MB / 205 MB, free: 5.715 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.155e-05, allocations: 2.281 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003998/0.004019, allocations: 4.345 MB / 330.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.005818, allocations: 1.336 MB / 331.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.006076, allocations: 35.75 kB / 331.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.006601, allocations: 238.2 kB / 331.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.00719, allocations: 373.5 kB / 332.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.007482, allocations: 227.5 kB / 332.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.008758, allocations: 1.595 MB / 334 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.009284, allocations: 0.5398 MB / 334.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.01009, allocations: 0.955 MB / 335.5 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.01074, allocations: 0.7092 MB / 336.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.01086, allocations: 164 kB / 336.4 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.01102, allocations: 168 kB / 336.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.01126, allocations: 454.7 kB / 337 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.01158, allocations: 0.495 MB / 337.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.01291, allocations: 2.154 MB / 339.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01291, allocations: 3.984 kB / 339.6 MB, free: 1.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01291, allocations: 0 / 339.6 MB, free: 1.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.01293, allocations: 7.938 kB / 339.6 MB, free: 1.574 MB / 298.7 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.002412/0.01534, allocations: 1.877 MB / 341.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.01539, allocations: 8.031 kB / 341.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.01573, allocations: 176 kB / 341.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/0.01666, allocations: 0.9156 MB / 342.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.0167, allocations: 74.38 kB / 342.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.0168, allocations: 96.38 kB / 342.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.01827, allocations: 1.49 MB / 344.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.01829, allocations: 3.938 kB / 344.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.01836, allocations: 47.97 kB / 344.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.0184, allocations: 46 kB / 344.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.01971, allocations: 1.292 MB / 345.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.02348, allocations: 3.769 MB / 349.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.02449, allocations: 1.002 MB / 350.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/0.02522, allocations: 0.6771 MB / 351.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.02525, allocations: 8.656 kB / 351.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.02586, allocations: 0.6516 MB / 351.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.034e-06/0.02586, allocations: 0 / 351.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004088/0.02995, allocations: 2.758 MB / 354.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.03001, allocations: 111.5 kB / 354.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.03096, allocations: 0.7973 MB / 355.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.03101, allocations: 41.7 kB / 355.5 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.03128, allocations: 0.4968 MB / 356 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.03141, allocations: 253.9 kB / 356.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.03155, allocations: 130.6 kB / 356.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.03167, allocations: 402.7 kB / 356.7 MB, free: 164 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.03205, allocations: 389.7 kB / 357.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.03253, allocations: 0.5996 MB / 357.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.03334, allocations: 0.9171 MB / 358.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.03335, allocations: 0 / 358.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001263/0.03461, allocations: 1.286 MB / 359.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.03463, allocations: 8 kB / 359.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03464, allocations: 7.938 kB / 359.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.03529, allocations: 464.4 kB / 360.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.03549, allocations: 99.81 kB / 360.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.04029, allocations: 5.384 MB / 365.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.04069, allocations: 83.64 kB / 365.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.04073, allocations: 28 kB / 366 MB, free: 6.672 MB / 330.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: 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.000522/0.04125, allocations: 467.4 kB / 366.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.04134, allocations: 91.44 kB / 366.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.04146, allocations: 112.4 kB / 366.6 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.04146, allocations: 11.98 kB / 366.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.04147, allocations: 0 / 366.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.04147, allocations: 0 / 366.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.04375, allocations: 2.302 MB / 368.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.04376, allocations: 0 / 368.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.04391, allocations: 55.91 kB / 369 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.04472, allocations: 469 kB / 369.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.04476, allocations: 19.98 kB / 369.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.04887, allocations: 5.314 MB / 374.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04887, allocations: 4 kB / 374.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.05089, allocations: 1.89 MB / 376.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.05118, allocations: 199.3 kB / 376.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.05124, allocations: 16 kB / 376.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.05144, allocations: 43.95 kB / 376.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.05157, allocations: 80.5 kB / 377 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.0516, allocations: 19.98 kB / 377 MB, free: 11.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004921/0.05209, allocations: 0.5809 MB / 377.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05209, allocations: 0 / 377.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000702/0.05279, allocations: 355.2 kB / 377.9 MB, free: 10.5 MB / 346.7 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.0001459/0.05294, allocations: 119.3 kB / 378.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.05427, allocations: 1.251 MB / 379.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.05428, allocations: 4.062 kB / 379.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.05499, allocations: 0.789 MB / 380.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.05561, allocations: 257.8 kB / 380.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.05832, allocations: 2.35 MB / 382.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.05882, allocations: 0.7042 MB / 383.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.05894, allocations: 56.48 kB / 383.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.05894, allocations: 7.938 kB / 383.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of Templates: time 0.01816/0.0771, allocations: 21.08 MB / 404.6 MB, free: 15.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.127526446245611]