Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 73.95 kB / 21.24 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 168.2 kB / 24.5 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 61.38 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.1002, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006524/0.1067, allocations: 4.195 MB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.1092, allocations: 1.273 MB / 384.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.1095, allocations: 27.81 kB / 384.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.1099, allocations: 178.6 kB / 384.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009791/0.1109, allocations: 374 kB / 385 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1113, allocations: 215.6 kB / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1132, allocations: 1.646 MB / 386.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008672/0.114, allocations: 0.5638 MB / 387.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.115, allocations: 0.7204 MB / 388.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.1162, allocations: 0.8756 MB / 389 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.1165, allocations: 176 kB / 389.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.1168, allocations: 180 kB / 389.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.1173, allocations: 486.6 kB / 389.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.1181, allocations: 0.6456 MB / 390.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.1204, allocations: 2.297 MB / 392.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1204, allocations: 4 kB / 392.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1204, allocations: 0 / 392.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1204, allocations: 0 / 392.8 MB, free: 1.543 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.003687/0.1241, allocations: 2.061 MB / 394.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1241, allocations: 11.98 kB / 394.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.1249, allocations: 215.9 kB / 395 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.1266, allocations: 0.9786 MB / 396 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.1266, allocations: 82.44 kB / 396.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.1268, allocations: 104.1 kB / 396.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.1295, allocations: 1.582 MB / 397.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.1295, allocations: 4 kB / 397.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1296, allocations: 40 kB / 397.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/0.1297, allocations: 46.03 kB / 397.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.1322, allocations: 1.433 MB / 399.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007214/0.1394, allocations: 4.314 MB / 403.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.1409, allocations: 0.9227 MB / 404.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.1423, allocations: 0.6849 MB / 405.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1423, allocations: 12.64 kB / 405.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.1434, allocations: 0.6413 MB / 405.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.1434, allocations: 0 / 405.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005999/0.1494, allocations: 2.36 MB / 408.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.1495, allocations: 89.75 kB / 408.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.1507, allocations: 0.9228 MB / 409.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.1508, allocations: 41.7 kB / 409.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.1513, allocations: 0.5475 MB / 409.8 MB, free: 48 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.1515, allocations: 246 kB / 410.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.1517, allocations: 126.7 kB / 410.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1519, allocations: 330 kB / 410.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.1526, allocations: 425.6 kB / 410.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.1535, allocations: 0.5775 MB / 411.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.1551, allocations: 0.9444 MB / 412.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.1551, allocations: 4 kB / 412.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002281/0.1574, allocations: 1.287 MB / 413.7 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1574, allocations: 7.984 kB / 413.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1574, allocations: 4 kB / 413.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009301/0.1584, allocations: 399.3 kB / 414.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.1589, allocations: 107.8 kB / 414.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.1647, allocations: 4.325 MB / 418.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.1653, allocations: 79.77 kB / 418.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.1653, allocations: 28 kB / 418.7 MB, free: 6.957 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.0007472/0.1661, allocations: 495.5 kB / 419.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1662, allocations: 107.3 kB / 419.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1665, allocations: 120.5 kB / 419.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.1665, allocations: 8 kB / 419.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1665, allocations: 0 / 419.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1665, allocations: 3.984 kB / 419.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.1706, allocations: 2.278 MB / 421.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1706, allocations: 0 / 421.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.171, allocations: 79.88 kB / 421.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008812/0.1719, allocations: 405 kB / 422.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.1719, allocations: 12 kB / 422.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/0.1779, allocations: 4.289 MB / 426.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1779, allocations: 3.938 kB / 426.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.1812, allocations: 1.933 MB / 428.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/0.1818, allocations: 227.1 kB / 428.6 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.1819, allocations: 16 kB / 428.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.1824, allocations: 39.95 kB / 428.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.1826, allocations: 80.5 kB / 428.7 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.1827, allocations: 19.98 kB / 428.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.1837, allocations: 0.6745 MB / 429.4 MB, free: 12.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1837, allocations: 0 / 429.4 MB, free: 12.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001067/0.1848, allocations: 351.1 kB / 429.8 MB, free: 11.68 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.0002033/0.185, allocations: 140.1 kB / 429.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.1874, allocations: 1.238 MB / 431.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.1874, allocations: 3.984 kB / 431.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.1888, allocations: 0.7842 MB / 431.9 MB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1899, allocations: 249.2 kB / 432.2 MB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1955, allocations: 2.678 MB / 434.9 MB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/0.1965, allocations: 0.8025 MB / 435.7 MB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004917/0.197, allocations: 167.2 kB / 435.8 MB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.1971, allocations: 68.42 kB / 435.9 MB, free: 5.469 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1971, allocations: 0 / 435.9 MB, free: 5.469 MB / 398.1 MB Notification: Performance of Templates: time 0.03121/0.2283, allocations: 17.45 MB / 453.3 MB, free: 4.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.089912894996814]