Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001611/0.001611, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002023/0.002023, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 50.77 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09354, allocations: 53.35 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006435/0.09997, allocations: 4.187 MB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.1026, allocations: 1.266 MB / 384.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.1031, allocations: 35.75 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.1035, allocations: 170.6 kB / 384.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1047, allocations: 366 kB / 384.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.1052, allocations: 227.6 kB / 385.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1071, allocations: 1.623 MB / 386.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008751/0.108, allocations: 0.5677 MB / 387.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/0.109, allocations: 0.7164 MB / 388.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.1105, allocations: 0.8717 MB / 388.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.1108, allocations: 179.9 kB / 389.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1112, allocations: 184 kB / 389.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.1116, allocations: 482.6 kB / 389.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.1124, allocations: 0.6456 MB / 390.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.1148, allocations: 2.301 MB / 392.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1148, allocations: 0 / 392.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1148, allocations: 0 / 392.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.1148, allocations: 0 / 392.7 MB, free: 1.75 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003692/0.1185, allocations: 2.061 MB / 394.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1185, allocations: 12.03 kB / 394.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/0.1193, allocations: 207.9 kB / 395 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.121, allocations: 0.9788 MB / 396 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.1211, allocations: 78.44 kB / 396 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.1213, allocations: 116.1 kB / 396.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.1239, allocations: 1.574 MB / 397.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.1239, allocations: 7.875 kB / 397.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.124, allocations: 40 kB / 397.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/0.1241, allocations: 50.03 kB / 397.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.1266, allocations: 1.429 MB / 399.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006769/0.1333, allocations: 4.322 MB / 403.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.1349, allocations: 0.9266 MB / 404.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.1362, allocations: 0.6856 MB / 405.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1362, allocations: 4.656 kB / 405.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.1373, allocations: 0.6413 MB / 405.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.1373, allocations: 0 / 405.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005988/0.1433, allocations: 2.348 MB / 408.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.1433, allocations: 93.77 kB / 408.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.1446, allocations: 0.9267 MB / 409.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.1447, allocations: 41.7 kB / 409.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.1452, allocations: 0.5436 MB / 409.8 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.1454, allocations: 245.9 kB / 410 MB, free: 20 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.1456, allocations: 134.7 kB / 410.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1458, allocations: 334 kB / 410.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.1465, allocations: 413.7 kB / 410.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/0.1473, allocations: 0.5736 MB / 411.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1489, allocations: 0.9522 MB / 412.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1489, allocations: 0 / 412.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002254/0.1511, allocations: 1.286 MB / 413.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1512, allocations: 10.81 kB / 413.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1512, allocations: 8.406 kB / 413.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009532/0.1521, allocations: 404.1 kB / 414.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.1526, allocations: 111.8 kB / 414.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.1584, allocations: 4.322 MB / 418.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.1591, allocations: 75.64 kB / 418.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.1591, allocations: 31.98 kB / 418.7 MB, free: 7.16 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008024/0.1599, allocations: 499.5 kB / 419.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1601, allocations: 99.33 kB / 419.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1603, allocations: 120.5 kB / 419.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1603, allocations: 8 kB / 419.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1603, allocations: 0 / 419.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1603, allocations: 3.984 kB / 419.4 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.1642, allocations: 2.286 MB / 421.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1642, allocations: 0 / 421.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.1647, allocations: 83.88 kB / 421.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.1655, allocations: 397.1 kB / 422.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.1656, allocations: 15.98 kB / 422.1 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.1713, allocations: 4.285 MB / 426.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1713, allocations: 0 / 426.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.1745, allocations: 1.948 MB / 428.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/0.1751, allocations: 219.2 kB / 428.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1752, allocations: 15.98 kB / 428.6 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.1756, allocations: 35.95 kB / 428.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.1759, allocations: 80.5 kB / 428.7 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.1759, allocations: 20 kB / 428.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009451/0.1769, allocations: 0.6707 MB / 429.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 429.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001012/0.1779, allocations: 359.1 kB / 429.8 MB, free: 11.88 MB / 398.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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.1781, allocations: 133.4 kB / 429.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.1804, allocations: 1.245 MB / 431.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1804, allocations: 0 / 431.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.1817, allocations: 0.7803 MB / 431.9 MB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.1827, allocations: 250.9 kB / 432.2 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.1876, allocations: 2.674 MB / 434.8 MB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.1886, allocations: 0.8064 MB / 435.6 MB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.189, allocations: 171.1 kB / 435.8 MB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.1892, allocations: 56.5 kB / 435.9 MB, free: 5.668 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1892, allocations: 0 / 435.9 MB, free: 5.668 MB / 398.1 MB Notification: Performance of Templates: time 0.02925/0.2185, allocations: 17.47 MB / 453.3 MB, free: 4.449 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.115465471986681]