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.001834/0.001834, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001558/0.001558, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.421/1.421, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.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.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.422e-06/1.422e-06, allocations: 0 / 325.1 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.17e-05, allocations: 2.281 kB / 325.1 MB, free: 420 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00617/0.006192, allocations: 4.349 MB / 329.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.009169, allocations: 1.334 MB / 330.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.009547, allocations: 35.81 kB / 330.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.01029, allocations: 234 kB / 331 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01134, allocations: 373.2 kB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.01186, allocations: 237.4 kB / 331.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.01376, allocations: 1.587 MB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.01462, allocations: 0.5441 MB / 333.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.01582, allocations: 0.9572 MB / 334.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.01691, allocations: 0.6953 MB / 335.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.01715, allocations: 165.8 kB / 335.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.01749, allocations: 179.1 kB / 335.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.01798, allocations: 459.2 kB / 336.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.01864, allocations: 0.4968 MB / 336.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.02096, allocations: 2.149 MB / 338.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.02097, allocations: 4 kB / 338.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02097, allocations: 3.938 kB / 338.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.02099, allocations: 0 / 338.9 MB, free: 7.199 MB / 302.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.003457/0.02445, allocations: 1.88 MB / 340.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.02449, allocations: 12.02 kB / 340.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.025, allocations: 172 kB / 340.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.02659, allocations: 0.9118 MB / 341.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.02666, allocations: 78.36 kB / 341.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.02682, allocations: 96.38 kB / 342 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.02933, allocations: 1.494 MB / 343.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.02936, allocations: 3.938 kB / 343.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.02947, allocations: 36 kB / 343.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.02953, allocations: 49.92 kB / 343.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.0318, allocations: 1.296 MB / 344.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.03809, allocations: 3.769 MB / 348.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.03979, allocations: 1.001 MB / 349.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.04112, allocations: 0.6771 MB / 350.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.04117, allocations: 12.64 kB / 350.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.04221, allocations: 0.6472 MB / 351 MB, free: 10.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 3.216e-06/0.04222, allocations: 7.938 kB / 351 MB, free: 10.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.008123/0.05034, allocations: 2.751 MB / 353.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.05045, allocations: 119.5 kB / 353.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.0518, allocations: 0.7973 MB / 354.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.05188, allocations: 37.7 kB / 354.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000572/0.05245, allocations: 0.4968 MB / 355.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.05273, allocations: 249.9 kB / 355.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.053, allocations: 134.6 kB / 355.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.05326, allocations: 402.7 kB / 356 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.05396, allocations: 393.7 kB / 356.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.05486, allocations: 0.6035 MB / 356.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.05636, allocations: 0.9093 MB / 357.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.05637, allocations: 0 / 357.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002265/0.05863, allocations: 1.286 MB / 359.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.05866, allocations: 12.03 kB / 359.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.05867, allocations: 7.938 kB / 359.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.05986, allocations: 464.4 kB / 359.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.06025, allocations: 103.8 kB / 359.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.06807, allocations: 5.384 MB / 365.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.06872, allocations: 79.64 kB / 365.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.06878, allocations: 24 kB / 365.2 MB, free: 12.29 MB / 334.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.0007472/0.06952, allocations: 463.5 kB / 365.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.06966, allocations: 95.44 kB / 365.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.06989, allocations: 112.3 kB / 365.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.0699, allocations: 8 kB / 365.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.0699, allocations: 0 / 365.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.06991, allocations: 3.984 kB / 365.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.07392, allocations: 2.302 MB / 368.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.07392, allocations: 0 / 368.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.07422, allocations: 63.91 kB / 368.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.07529, allocations: 469.2 kB / 368.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.07534, allocations: 15.98 kB / 368.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007803/0.08315, allocations: 5.311 MB / 374 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08315, allocations: 0 / 374 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.08633, allocations: 1.894 MB / 375.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.0868, allocations: 203.3 kB / 376.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.08692, allocations: 12 kB / 376.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.08736, allocations: 39.95 kB / 376.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.08759, allocations: 84.44 kB / 376.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.08764, allocations: 23.98 kB / 376.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008329/0.08847, allocations: 0.5731 MB / 376.8 MB, free: 488 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08847, allocations: 4 kB / 376.8 MB, free: 484 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.00111/0.08958, allocations: 355.2 kB / 377.2 MB, free: 128 kB / 334.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.0002543/0.08984, allocations: 123.2 kB / 377.3 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.09214, allocations: 1.251 MB / 378.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.09215, allocations: 4 kB / 378.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.09354, allocations: 0.7899 MB / 379.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.09468, allocations: 257.8 kB / 379.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.09919, allocations: 2.331 MB / 381.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.1001, allocations: 0.7419 MB / 382.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.1005, allocations: 143.1 kB / 382.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.1007, allocations: 64.42 kB / 382.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1007, allocations: 0 / 382.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.03215/0.1328, allocations: 18.48 MB / 401.4 MB, free: 8.113 MB / 366.1 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: 4.903951436281204]