Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001674/0.001674, allocations: 113 kB / 18.45 MB, free: 4.602 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.001863/0.001863, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.435/1.435, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00555/0.1108, allocations: 3.465 MB / 422.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1127, allocations: 0.8452 MB / 423.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.113, allocations: 8 kB / 423.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1132, allocations: 67.3 kB / 423.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1135, allocations: 142.8 kB / 423.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.1139, allocations: 127.8 kB / 423.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.1144, allocations: 0.5175 MB / 424.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.1147, allocations: 121.8 kB / 424.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.115, allocations: 199.2 kB / 424.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.1153, allocations: 219 kB / 424.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.1153, allocations: 44 kB / 424.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.1154, allocations: 48 kB / 424.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1155, allocations: 107.6 kB / 424.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.1158, allocations: 230.8 kB / 425.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.1164, allocations: 0.5252 MB / 425.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1164, allocations: 4 kB / 425.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1164, allocations: 0 / 425.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1164, allocations: 0 / 425.6 MB, free: 5.418 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001348/0.1178, allocations: 0.7336 MB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1178, allocations: 12.03 kB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1179, allocations: 52.61 kB / 426.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.1184, allocations: 344.5 kB / 426.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.1184, allocations: 33.38 kB / 426.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.1185, allocations: 36.38 kB / 426.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.1192, allocations: 392 kB / 427.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1192, allocations: 0 / 427.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.1193, allocations: 16 kB / 427.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1193, allocations: 12 kB / 427.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.1198, allocations: 263.8 kB / 427.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1221, allocations: 1.488 MB / 429 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.1225, allocations: 215.5 kB / 429.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.1229, allocations: 153.9 kB / 429.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1229, allocations: 4.219 kB / 429.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.1234, allocations: 238.5 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.1234, allocations: 0 / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001647/0.125, allocations: 0.5811 MB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.1251, allocations: 114.7 kB / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1255, allocations: 292.5 kB / 430.5 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1255, allocations: 33.7 kB / 430.6 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1257, allocations: 224.9 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1258, allocations: 107.1 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1259, allocations: 66.08 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1261, allocations: 346.8 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1263, allocations: 88.7 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.1266, allocations: 225.5 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.1272, allocations: 327.1 kB / 431.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1272, allocations: 0 / 431.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007962/0.128, allocations: 414.3 kB / 432.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.128, allocations: 6.656 kB / 432.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.128, allocations: 4 kB / 432.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.1283, allocations: 88.83 kB / 432.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.1286, allocations: 63.84 kB / 432.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.1309, allocations: 2.006 MB / 434.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1312, allocations: 39.7 kB / 434.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.1312, allocations: 16 kB / 434.6 MB, free: 11.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.1315, allocations: 165.7 kB / 434.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.1315, allocations: 35.8 kB / 434.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.1316, allocations: 39.09 kB / 434.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1316, allocations: 8.062 kB / 434.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1317, allocations: 0 / 434.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1317, allocations: 192 / 434.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.1324, allocations: 0.5654 MB / 435.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1324, allocations: 3.938 kB / 435.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1326, allocations: 31.92 kB / 435.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.1328, allocations: 72.81 kB / 435.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.1329, allocations: 16.02 kB / 435.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.1349, allocations: 1.998 MB / 437.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1349, allocations: 0 / 437.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.1359, allocations: 0.4911 MB / 438 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.136, allocations: 148.8 kB / 438.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.1361, allocations: 4 kB / 438.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1363, allocations: 15.98 kB / 438.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.1363, allocations: 23.97 kB / 438.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1364, allocations: 11.98 kB / 438.2 MB, free: 8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.1366, allocations: 211.1 kB / 438.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1366, allocations: 0 / 438.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005307/0.1371, allocations: 115.8 kB / 438.5 MB, free: 7.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.1373, allocations: 123.2 kB / 438.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.1381, allocations: 406.5 kB / 439 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1381, allocations: 0 / 439 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.1386, allocations: 278.4 kB / 439.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1389, allocations: 58.36 kB / 439.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1403, allocations: 0.7503 MB / 440.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1408, allocations: 0.8068 MB / 440.9 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.1408, allocations: 27.42 kB / 440.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1408, allocations: 0 / 440.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of Templates: time 0.1787/0.3196, allocations: 5.973 MB / 446.9 MB, free: 29.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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: 7.883809642167762]