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.001807/0.001807, allocations: 118 kB / 18.46 MB, free: 4.562 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.002151/0.002151, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.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 0.001572/0.001572, allocations: 47.94 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1005, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00686/0.1073, allocations: 4.778 MB / 432.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.1103, allocations: 1.379 MB / 433.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.1109, allocations: 39.69 kB / 433.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.1117, allocations: 226.4 kB / 433.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.1127, allocations: 362 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.1132, allocations: 227.6 kB / 434.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1149, allocations: 1.541 MB / 436 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.1158, allocations: 0.7268 MB / 436.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.1167, allocations: 0.6658 MB / 437.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.1177, allocations: 0.7783 MB / 438.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.118, allocations: 164 kB / 438.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.1182, allocations: 172 kB / 438.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.1187, allocations: 446.7 kB / 439 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000777/0.1194, allocations: 0.7272 MB / 439.7 MB, free: 8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.1216, allocations: 2.11 MB / 441.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1216, allocations: 3.938 kB / 441.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1216, allocations: 0 / 441.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.1216, allocations: 0 / 441.8 MB, free: 5.879 MB / 366.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.003224/0.1248, allocations: 1.692 MB / 443.5 MB, free: 4.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1249, allocations: 11.97 kB / 443.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005315/0.1254, allocations: 172 kB / 443.7 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.1269, allocations: 0.9742 MB / 444.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.127, allocations: 70.38 kB / 444.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.1272, allocations: 104.1 kB / 444.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.1296, allocations: 1.443 MB / 446.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.1296, allocations: 0 / 446.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1297, allocations: 40 kB / 446.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.1298, allocations: 45.98 kB / 446.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1837/0.3136, allocations: 1.287 MB / 447.6 MB, free: 23.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006947/0.3205, allocations: 4.312 MB / 452 MB, free: 22.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3222, allocations: 1.898 MB / 453.9 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3235, allocations: 0.682 MB / 454.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.3235, allocations: 7.906 kB / 454.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000997/0.3245, allocations: 0.5949 MB / 455.1 MB, free: 20.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 4.478e-06/0.3245, allocations: 0 / 455.1 MB, free: 20.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007451/0.332, allocations: 2.8 MB / 457.9 MB, free: 19.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.332, allocations: 114 kB / 458 MB, free: 19.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.3334, allocations: 0.8485 MB / 458.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.3334, allocations: 44.59 kB / 458.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.3338, allocations: 498.9 kB / 459.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.334, allocations: 254.1 kB / 459.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.3342, allocations: 137.5 kB / 459.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.3343, allocations: 338.2 kB / 460.1 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.3349, allocations: 396 kB / 460.5 MB, free: 18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.3356, allocations: 0.5479 MB / 461.1 MB, free: 17.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.337, allocations: 0.92 MB / 462 MB, free: 17.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.337, allocations: 1.312 kB / 462 MB, free: 17.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002265/0.3393, allocations: 1.29 MB / 463.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3393, allocations: 6.906 kB / 463.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3393, allocations: 3.781 kB / 463.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.3405, allocations: 472.4 kB / 463.8 MB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.3409, allocations: 95.5 kB / 463.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007075/0.348, allocations: 5.588 MB / 469.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.3487, allocations: 82.83 kB / 469.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.3488, allocations: 23.41 kB / 469.5 MB, free: 13.2 MB / 366.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_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: 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.0007184/0.3495, allocations: 477.3 kB / 470 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3497, allocations: 95.52 kB / 470.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.35, allocations: 112.1 kB / 470.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.35, allocations: 7.594 kB / 470.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.35, allocations: 1.125 kB / 470.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.35, allocations: 5.625 kB / 470.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.3541, allocations: 2.583 MB / 472.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3541, allocations: 0 / 472.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3544, allocations: 62.17 kB / 472.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009731/0.3554, allocations: 457.6 kB / 473.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.3554, allocations: 12.62 kB / 473.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/0.3617, allocations: 5.501 MB / 478.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3617, allocations: 0 / 478.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.3644, allocations: 1.904 MB / 480.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.3649, allocations: 287 kB / 481 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.3651, allocations: 20.31 kB / 481 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.3656, allocations: 42.58 kB / 481.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.3658, allocations: 73.14 kB / 481.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3659, allocations: 22.58 kB / 481.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009072/0.3668, allocations: 0.6015 MB / 481.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 481.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001259/0.3681, allocations: 347.5 kB / 482.1 MB, free: 5.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.000204/0.3683, allocations: 135.4 kB / 482.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3703, allocations: 1.255 MB / 483.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3703, allocations: 3.938 kB / 483.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.3714, allocations: 0.7847 MB / 484.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3725, allocations: 285.2 kB / 484.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.3763, allocations: 2.369 MB / 486.9 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.377, allocations: 1.301 MB / 488.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3771, allocations: 57.89 kB / 488.3 MB, free: 1.367 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3771, allocations: 3.938 kB / 488.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of Templates: time 0.03001/0.4071, allocations: 20.96 MB / 0.4973 GB, free: 12.71 MB / 398.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/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_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: 9.625103187019704]