Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 70.03 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.42 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08798, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006254/0.09423, allocations: 4.149 MB / 375.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.09654, allocations: 1.188 MB / 376.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.0968, allocations: 35.69 kB / 377 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.09716, allocations: 170.7 kB / 377.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009355/0.0981, allocations: 370 kB / 377.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.09848, allocations: 203.7 kB / 377.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.1001, allocations: 1.599 MB / 379.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.1009, allocations: 0.5599 MB / 379.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.1016, allocations: 0.7047 MB / 380.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.1029, allocations: 0.864 MB / 381.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.1031, allocations: 176 kB / 381.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.1034, allocations: 180 kB / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.1038, allocations: 486.5 kB / 382.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.1045, allocations: 0.6379 MB / 382.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.1066, allocations: 2.27 MB / 385.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1067, allocations: 0 / 385.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1067, allocations: 0 / 385.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1067, allocations: 0 / 385.2 MB, free: 9.68 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.003398/0.1101, allocations: 2.037 MB / 387.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1101, allocations: 12.92 kB / 387.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.1103, allocations: 152 kB / 387.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.1118, allocations: 0.9436 MB / 388.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.1119, allocations: 82.44 kB / 388.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1121, allocations: 104.1 kB / 388.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.1146, allocations: 1.582 MB / 390.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.1146, allocations: 0 / 390.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1147, allocations: 43.98 kB / 390.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.1148, allocations: 49.97 kB / 390.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.1172, allocations: 1.433 MB / 391.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006362/0.1235, allocations: 4.314 MB / 395.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.125, allocations: 0.9344 MB / 396.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.1263, allocations: 0.6771 MB / 397.5 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1263, allocations: 4.656 kB / 397.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.1274, allocations: 0.6452 MB / 398.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 1.984e-06/0.1274, allocations: 0 / 398.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00584/0.1332, allocations: 2.34 MB / 400.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1333, allocations: 93.73 kB / 400.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1344, allocations: 0.903 MB / 401.5 MB, free: 8.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.1345, allocations: 37.7 kB / 401.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.1349, allocations: 0.5318 MB / 402.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.1351, allocations: 241.9 kB / 402.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1353, allocations: 130.6 kB / 402.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1355, allocations: 334 kB / 402.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.1362, allocations: 417.7 kB / 403.2 MB, free: 7.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.137, allocations: 0.588 MB / 403.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1385, allocations: 0.9405 MB / 404.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1385, allocations: 4 kB / 404.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002162/0.1407, allocations: 1.291 MB / 406 MB, free: 4.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1407, allocations: 4 kB / 406 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1407, allocations: 7.938 kB / 406 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/0.1416, allocations: 407.1 kB / 406.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.1421, allocations: 115.8 kB / 406.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.1478, allocations: 4.31 MB / 410.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.1483, allocations: 87.62 kB / 410.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.1484, allocations: 20 kB / 410.9 MB, free: 15.26 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.0006376/0.149, allocations: 499.4 kB / 411.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.1491, allocations: 99.38 kB / 411.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1493, allocations: 116.2 kB / 411.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1494, allocations: 8 kB / 411.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1494, allocations: 4 kB / 411.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.1494, allocations: 3.984 kB / 411.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.1532, allocations: 2.275 MB / 413.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1532, allocations: 0 / 413.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.1536, allocations: 79.88 kB / 414 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/0.1544, allocations: 397 kB / 414.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.1545, allocations: 16 kB / 414.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005466/0.16, allocations: 4.293 MB / 418.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.16, allocations: 0 / 418.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.1629, allocations: 1.944 MB / 420.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.1633, allocations: 215.2 kB / 420.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1634, allocations: 12 kB / 420.9 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.1639, allocations: 55.94 kB / 420.9 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.1641, allocations: 80.5 kB / 421 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.1641, allocations: 16 kB / 421 MB, free: 4.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008204/0.1649, allocations: 0.6473 MB / 421.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1649, allocations: 4 kB / 421.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008854/0.1658, allocations: 351.2 kB / 422 MB, free: 4.008 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 (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.000159/0.166, allocations: 127.2 kB / 422.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.1682, allocations: 1.245 MB / 423.4 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1682, allocations: 0 / 423.4 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.1694, allocations: 0.7882 MB / 424.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.1704, allocations: 235 kB / 424.4 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.1748, allocations: 2.64 MB / 427 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/0.1757, allocations: 0.7903 MB / 427.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.1761, allocations: 175 kB / 428 MB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.1762, allocations: 60.5 kB / 428 MB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1762, allocations: 3.938 kB / 428 MB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.02936/0.2056, allocations: 17.32 MB / 445.4 MB, free: 12.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.001911371946335]