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.00188/0.00188, allocations: 111 kB / 21.18 MB, free: 0.668 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.002333/0.002333, allocations: 209 kB / 24.47 MB, free: 3.969 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.62/1.62, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001614/0.001614, allocations: 55.91 kB / 379 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3575, allocations: 53.35 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006413/0.3639, allocations: 4.344 MB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.3671, allocations: 1.32 MB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.3676, allocations: 43.69 kB / 438.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.3684, allocations: 230.4 kB / 438.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.3693, allocations: 374 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.3698, allocations: 223.6 kB / 438.9 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.3716, allocations: 1.549 MB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008772/0.3724, allocations: 0.5594 MB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000938/0.3734, allocations: 0.6659 MB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3745, allocations: 0.7899 MB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.3747, allocations: 164 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.375, allocations: 172 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.3755, allocations: 442.7 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007216/0.3762, allocations: 0.5873 MB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.3784, allocations: 2.127 MB / 445.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3784, allocations: 0 / 445.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3784, allocations: 0 / 445.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.3785, allocations: 0 / 445.9 MB, free: 9.098 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003683/0.3822, allocations: 1.9 MB / 447.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3822, allocations: 8.031 kB / 447.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.3827, allocations: 176 kB / 448 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.3845, allocations: 0.9086 MB / 448.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.3846, allocations: 74.38 kB / 449 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.3848, allocations: 100.1 kB / 449.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.3875, allocations: 1.497 MB / 450.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.3876, allocations: 0 / 450.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3877, allocations: 40 kB / 450.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.3877, allocations: 45.98 kB / 450.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.39, allocations: 1.296 MB / 451.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.3965, allocations: 3.772 MB / 455.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3982, allocations: 1.001 MB / 456.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.3995, allocations: 0.6736 MB / 457.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.3995, allocations: 12.64 kB / 457.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.4006, allocations: 0.6478 MB / 458 MB, free: 12.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.835e-06/0.4006, allocations: 0 / 458 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007533/0.4081, allocations: 2.755 MB / 460.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4082, allocations: 111.5 kB / 460.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4093, allocations: 0.805 MB / 461.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4094, allocations: 41.7 kB / 461.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.4099, allocations: 0.4929 MB / 462.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.4102, allocations: 253.9 kB / 462.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4104, allocations: 138.6 kB / 462.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.4106, allocations: 402.6 kB / 463 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.4113, allocations: 389.7 kB / 463.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008417/0.4121, allocations: 0.5958 MB / 464 MB, free: 6.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.4135, allocations: 0.9132 MB / 464.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4135, allocations: 4 kB / 464.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002206/0.4157, allocations: 1.29 MB / 466.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4157, allocations: 8 kB / 466.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4158, allocations: 4 kB / 466.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4169, allocations: 468.4 kB / 466.7 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.4173, allocations: 95.83 kB / 466.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007718/0.425, allocations: 5.383 MB / 472.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.4256, allocations: 79.64 kB / 472.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.4256, allocations: 24 kB / 472.3 MB, free: 14.2 MB / 382.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.0008278/0.4265, allocations: 471.2 kB / 472.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4266, allocations: 95.38 kB / 472.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.4268, allocations: 108.4 kB / 472.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.4268, allocations: 8 kB / 472.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4269, allocations: 0 / 472.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4269, allocations: 3.984 kB / 472.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.4309, allocations: 2.294 MB / 475.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4309, allocations: 0 / 475.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.4312, allocations: 63.91 kB / 475.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.4323, allocations: 468.9 kB / 475.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.4323, allocations: 12 kB / 475.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/0.4399, allocations: 5.329 MB / 481.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4399, allocations: 0 / 481.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.4428, allocations: 1.898 MB / 483 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.4434, allocations: 195.3 kB / 483.2 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4435, allocations: 19.98 kB / 483.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.4439, allocations: 43.89 kB / 483.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.4441, allocations: 76.52 kB / 483.3 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.4442, allocations: 19.98 kB / 483.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008329/0.445, allocations: 0.5771 MB / 483.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.445, allocations: 0 / 483.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001158/0.4461, allocations: 355.2 kB / 484.2 MB, free: 2.012 MB / 382.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.0001911/0.4463, allocations: 119.1 kB / 484.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.4486, allocations: 1.263 MB / 485.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.4486, allocations: 4.875 kB / 485.6 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4499, allocations: 0.7931 MB / 486.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4509, allocations: 254.8 kB / 486.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.4551, allocations: 2.385 MB / 489.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.456, allocations: 0.738 MB / 489.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.4565, allocations: 147.1 kB / 489.9 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4567, allocations: 51.44 kB / 490 MB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4567, allocations: 0 / 490 MB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.03911/0.4958, allocations: 20.08 MB / 0.4981 GB, free: 8.422 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.826777569003752]